Each button needs to control it's own state. Check the plugins we ship for examples.
Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
Each button needs to control it's own state. Check the plugins we ship for examples.
This example overrides default formats:
http://www.tinymce.com/tryit/custom_formats.php
font_size_legacy_values works fine. Just tested it. Also added various font options.
Re-added this feature check the github/nightly version.
Use the autoresize plugin?
It's more flexible now. It has all the events of 3.x and more. Check the migration guide here:
http://www.tinymce.com/wiki.php/Tutoria
e_from_3.x
It's more flexible now. It has all the events of 3.x and more. Check the migration guide here:
http://www.tinymce.com/wiki.php/Tutoria
e_from_3.x
We can't do magic. We don't know what content that should be removed or kept since for example if the contents in has a span in a span it might need to be there to correctly display the text as the user intended it to. A common scenario we see all the time is that people just stick a rich text editor in their CMS without any configuration what so ever and that will not produce as clean output as would wan't regardless of the editor.
For example we use very restrictive valid_element settings for the wiki on this site:
valid_elements : "@[dir],-h1,-h2,-h3,-h4,-h5,-h6,-p,-pre[class],-a[href|title],img[src|title|alt|class],-strong,-em,-ul,-ol,-li,-table[border|cellspacing|cellpadding|frame|rules|align|summary|style|class],tr[rowspan|align|valign|style],tbody,thead,tfoot,#td[colspan|rowspan|align|valign|scope|style],#th[colspan|rowspan|align|valign|scope|style],caption,br"
Alt is already in there also rel if you config the rel_list. So that leaves title, class and possible data- attributes. Class can be applied using the format menu and that is way more powerful since you see a live what the class does so we won't be adding that. Title and data- attributes are global attributes and not image specific so we might add these to a special attributes plugin that would enable you to set these advanced attributes on any element not just images.
Could happen if your blocks are inline blocks in your css.
@Felix: We changed it to Transifex since it's editor is far superior. And we don't have time to update our own to make that one as good.
@NabLa: Could you file a bug report with details on what browser your using. We strip all word crap by default now in all browsers. So no need for any word paste dialog. So I'm curious how the content manages to get through that filter.
Hmm, maybe we should implement a way to set toolbar: false.
Remove the quotes and make sure the fileBrowserCallback is defined before the tinymce.init call.
That exact syntax works just fine when I try it. The API hasn't changed in this regard.
You won't have any minified production files. You need to build it using node.js.
This release includes a few new options/features and a bunch of bug fixes. Check the details below.
CDN version and options
We have now an official CDN hosted version of TinyMCE. The hosting and bandwidth is provided by CacheFly, one of the fastest CDN providers in the world. This CDN version is a combined file of the core, plugins and themes so that everything loads in a single HTTP request. We also added options to make it easier to load custom plugins from your local server check the Using CDN tutorial for details.
Advanced tab for image dialog
There has been a lot of feedback regarding some missing options to manipulate the style of images directly. This could be useful in some implementations such as email client applications so as of this version it's possible to modify the margin/border of images if you enable the advanced tab using the image_advtab option.
API documentation
We added a lot of API documentation and a tutorial on how to make a simple plugin. We will continue to update the API docs with more details and examples each release and add more content to the wiki.
Bug fixes
We fixed a lot of bugs and issues in this release. Something you would except in a beta update. So if you find any bugs or issues submit them in the bug tracker. If it's general feedback feel free to post about that in this forum thread.
Translations
We like to thank everyone who have contributed translations. If you want to help out with translations join a team at: Transifex
Use editor.on('keydown', function(e) {}) instead.
We fixed the download link now.
Added docs for these options now. Will release API docs next week.
Will check how we will re-introduce some of these features. For some environments inline styling can be useful for example email web clients.
The same syntax works just add it to the toolbar option.
Will add an option to disable menu items.
TinyMCE doesn't add anything like that. Probably some server script converting http://... to links using a regexp or similar.
@KamranMackey: If you use Joomla you should check out the JCE editor that based on TinyMCE and has a ton of options. If you feel anything specific is missing let us know and we will considering adding it. But we want to avoid UI bloat and keep it clean and simple.
What are you missing? We cleaned up the UI and removed deprecaded html4 stuff and things no one should use like roll overs and popup generation. Image padding/margin should be done with CSS and the formats menu. I guess we need to focus on more examples and demos to show off the full power of TinyMCE. We reintroduced some of the more important features like link "Rel" but this is only enabled when configured. So it's not a new product it's just a cleaned up version and a major re-write a code base that has been worked on for nearly 10 years needs a major spring cleaning one in a while.
You are not logged in. Please login or register.