Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow extensions to hook into the get/set content #1349

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Jul 18, 2017

  1. 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.
    dmx-patrick committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    901ce97 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. call setContent directly after creating the contentEditable to allow …

    …extensions to update the editable html.
    
    tests needed an update because the innerHTML of the content editable was
    replaced after init.
    dmx-patrick committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    20dc823 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2017

  1. Fix for issue yabwe#976

    dmx-patrick committed Jul 20, 2017
    Configuration menu
    Copy the full SHA
    3a9ee74 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2017

  1. by adding div to list of block containers it did not convert the divs…

    … created after a enter to a p tag, this is now catched.
    
    Fix for when applying block formatting when on a list item, it will
    remove list formatting first.
    
    fixed issue yabwe#1348
    dmx-patrick committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    aac63d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3706c2 View commit details
    Browse the repository at this point in the history