-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated all methods that set/get the editor content, extensions can c…
…hange the html that is being set/get. Moved the extension init before the addElements method to allow extension hook into the setContent and getContent. Because of the move the elements are not available in the extension init method, the extension should subscribe to the add addElement and removeElement events. Always enable toolbar when not disabled in options, even when all elements on page have data-disable-toolbar set, it is possible that elements are added later that require the toolbar.
- Loading branch information
1 parent
4ba4fff
commit 901ce97
Showing
2 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters