Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additions * Added a $(selector).cleditor(options) method to create cleditor instances the jQuery way. * Added a defaultOptions property to allow option overrides at a global level. * Added a buttons property to provide access the internal button definitions. * Added a useCSS option to force the editor to use CSS to style HTML when possible. * Added a disabled property which is true if the editor is disabled; otherwise false. * Added a disable() method to disable or enable the editor. * Added a change event that is triggered when the contents of the editor have changed. * Added a change() method to simplify the binding of the change event. * Added a clear() method to clear the editor. * Added a execCommand() method to execute design mode commands * Added a hidePopups() method to hide all popups. * Added a showMessage() method to show a popup messages inside the editor. * Added a restoreSelection() method to restore the previous selection after focusing another control. * Added support for custom plugin development. * Added an HTML table plugin. * Added an icon plugin. Deletions * Removed the $.cleditor(id, options) constructor function. * Removed the name option used to name the editor. * Removed all class names from options. * Removed all background-image urls from the css file. Other Changes * All image files are now assumed to be in the images subfolder located in the same folder as the jquery.cleditor.css file. * All javascript alerts have been replaced with popup messages. * All javascript prompts have been replaced with custom popups. * Code optimization and cleanup. * Bug fixes. * For security reasons, some browsers do not support script driven access to the clipboard. When a user clicks the cut, copy or paste buttons on these browsers, a popup message is displayed stating this. Users can still interact with the clipboard using the keyboard and context menus.
- Loading branch information