TinyMCE 4.0.11 发布了,TinyMCE是一个轻量级的基于浏览器的所见即所得编辑器,支持目前流行的各种浏览器,由JavaScript写成。功能配置灵活简单(两行代码就可以 将编辑器嵌入网页中),支持AJAX。另一特点是加载速度非常快,如果你的服务器采用的脚本语言是 PHP,那还可以进一步优化。最重要的是,TinyMCE是一个根据LGPL license发布的自由软件,你可以把它用于商业应用。 该版本包含如下改进记录: Added the possibility to update button icon after it's been rendered. Added new autosave_prefix option allows you to set the prefix for the local storage keys. Added new pagebreak_split_block option to make it easier to split block elements with a page break. Fixed bug where IE would some times produce font elements when typing out side the body root blocks. Fixed bug where IE wouldn't properly use the configured root block element but instead use the a paragraph. Fixed bug where IE would throw a stack overflow if control selections non images was made in inline mode. Fixed bug where IE 8 would render an extra enter element if the contents of the editor was empty. Fixed bug where the caret wasn't moved to the first suitable element when updating the source. Fixed bug where protocol relative urls would be forced into http protocol. Fixed bug where internal images with data urls such as video elements would be removed by the paste_data_images option. Fixed bug where the autoresize plugin wouldn't properly resize the editor to initial contents some times. Fixed bug where the templates dialog wouldn't be properly rendered on IE 7. Fixed bug where updating styles in the advanced tab under the image dialog would remove the style attribute on cancel. Fixed bug where tinymce.full.min.js bundle script wasn't detected when looking for the tinymce root path. Fixed bug where the SaxParser would throw a malformed URI sequence for inproperly encoded uris. Fixed bug where enabling table caption wouldn't properly render the caption element on IE 10 and below. Fixed bug where the scrollbar would be placed to the left and on top of the text of menu items in RTL mode. Fixed bug where Firefox on Mac OS X would navigate forward/backward on CMD+Arrow keys. Fixed bug where fullscreen toggle on fixed sized editors wouldn't be properly full screened. Fixed bug where the unlink button would remove all links from the body element in inline mode under running in IE. Fixed bug where iOS wasn't able to place the caret inside an empty editor when clicking below the first line. Fixed so internal document anchors in Word documents are retained when pasting using the paste from word feature. Fixed so menu shortcuts gets rendered with the Apple command icon patch contributed by Andy Keller. Fixed so the CSS compression of styles like "border" is a bit better for mixed values. Fixed so the template_popup_width/template_popup_height option works properly in the template plugin. Fixed so the languages parameter for AddOnManager.requireLangPack works the same way as for 3.x. Fixed so the autosave plugin uses the current page path, query string and editor id as it's default prefix. Fixed so the fullpage plugin adds/removes any link style sheets to the current iframe document. |