- Make
HoverPanel
extend fromElementHoverPanel
- Make
ElementHoverPanel
accept multiple configurations for difference elements. - Ensure text box height in dialogs is fixed for all plugins.
API Changes:
- File manager will no longer refresh during initialisation. When using standalone you must call
rfm.refresh()
.
Updates:
- Event names are now normalised by lowercasing, and removing all non alphabetic characters from them. This allows for
- Added
callback
option to thesave
plugin instead of requiring a full save plugin implementation.
Updates:
- Added
resetUi
option to thelinkCreate
plugin. - Added a
raptor-ui
class to all UI elements and hide them on print media. - Make external links open in target
_blank
by default. - Move tag menu tags to options.
- Cleaned up old build files.
Updates:
- Added front end class to tables.
- Added
insert-nodes
event, used by paste plugin after pasting and allow plugins to cleanup or normalise content. - Added ability to open link while editing by holding
ctrl
then clicking the link.
API Changes:
- Rename
selectionCustomise
event toselection-customise
. Bind option should support both. - Update
selectionReplace
to only accept a node or a string.
API Changes:
- Changed option inheritance to to inherit from
component.options
->raptor.options
->config.options
in that order. It wasraptor.options
->component.options
->config.options
. This allows setting a single option to effect all plugins.
Example:
$('.editable').raptor({
previewTimeout: 1000
});
Updates:
- Allow tables in cleaned pasted content.
- Allow more data customisation in the JSON save plugin.
- Add
checkDirty
option to save plugins to allow saving even if Raptor thinks the content is up to date.
Updates:
- Added delay to hover preview actions.
- Added Amazon S3 file manager backend beta.
Fixes:
- Fixed removing links in some situations.
- Fixed some height issues with text box sizes in dialogs.
- Fixed paste capture events in IE.
- Fixed updating links attributes.
Updates:
- Added
dockTo
option. - Remove customised list toggling in favour of
execCommand
.
Updates:
- Added
elementHoverPanel
, used for image hover toolbar. - Added
imageSwap
button. - Added
close
button, used fromElementHoverPanel
. - Fires input event on
textarea
when Raptor is changed. - The insert file plugin now replaces image.
- Change
autoSelect
option to a select either select the start, end, all.
API Changes:
- Deprecated
raptor.getUi()
in favour of a singleraptor.getPlugin()
method. - Refactored
imageResizeButton
intoimageResize
, usingDialogButton
, andElementHoverPanel
Updates:
- Expose the global
Raptor
object to$.fn.raptor.Raptor
- Add
autoSelect
option to select all text when enabling the Raptor.
Fixes:
- Fixed restoring the text color after previewing.
- Fixed overriding color when editing inline.
- Fixed test runner includes.
- Prevent XULRunner throwing an error when trying to access
localStorage
API Changes:
- Removed
div
from the default allowed elements when pasting.
Updates:
- Add hotkey to bypass paste dialog (
ctrl
+shift
+v
). - Add
retain
option to save plugin to keep editor open after saving. - Automatically translated Raptor into about 40 languages.
Fixes:
- Fixed icon size for flags and button (when used with font icons).
Updates:
- Show the user a message is save is not configured.
Fixes:
- Fixed some build options.
Updates:
- Pass
data
,status
, andxhr
to save plugin callbacks.
Fixes:
- Fix docked toolbar not always putting the correct size spacer in.
API Changes:
- Changed event system to allow passing arguments.
- Removed
before
andafter
. - Raptor no longer fires
global
events wheninstance
events are triggered.
Updates:
- Moved messaging system into a layout plugin.
- Added hover panel layout.
API Changes:
- Changed layout initialisation syntax.
Updates:
- Preview action when you hover a button
- Restore selection after an action is applied
- Improved performance
- Updated selection/change checking
- Removed HTML cleaning (HTML should now always be clean)
- Removed rangy markers (serialized ranges)
- Use static/shared dialogs
- Only create toolbar/buttons/menus/dialogs when first used
- Many bug fixes
- Added lots of tests
- Added option presets
- Updated build script to create smaller, more targeted builds
API Changes:
- Renamed variables from 'editor' to 'raptor' to prevent conflicts
- Decoupled layout (messaging system still needs decoupling)
- Rewrote plugin/UI architecture
- Adjusted exiting plugins/UI
- Remove 'ui' option in initialisation, all ui options should be placed in the 'plugins' option
- Updated translations to use keys instead of english strings
- Changed save REST options
Fixed encoding issue in Swedish translation.
Fixed incorrect builds.
API Changes:
- Changed save REST plugin to no longer pass though and ID parameter to callbacks.
Fixes:
- Fixed include.php loader, which was missing some files, and loading older plugins.
- Fixed hotkeys, and added hotkeys plugin detection.
Other:
- Add save rest example/test page.
- Updated swedish translation.