Commit Graph
8 Commits
Author SHA1 Message Date
Christophe Matthieu 1800c07f44 [IMP] summernote lib: save range each time the cuser mouseup or keyup in editable area and restore each time the user active an event.
In this case the user can click on an other page area and then click on the option without any error
2015-01-05 10:59:44 +01:00
Christophe Matthieu 30c0e36afa [IMP] summernote lib: set active/unactive buttons for image edition
https://github.com/summernote/summernote/pull/804
2015-01-05 10:59:43 +01:00
Christophe Matthieu 064275d7fb [FIX] summernote lib: the prevent default for mousedown image to prevent ie and ff default 'features' must set the range because the cursor is used for edition.
Modify the code to use the dom range. Warning for picture because the browser can't target the image but the container.

https://github.com/summernote/summernote/pull/803
2015-01-05 10:59:43 +01:00
Christophe Matthieu 5b07a0dc61 [FIX] summernote lib: some browsers raise when select a range to target a node like an image or a br; createFromNode can't select a node withe more or less of one item. For eg: <div>text <span>one</span></div> the range selected is only 'text '
https://github.com/summernote/summernote/pull/799
2015-01-05 10:59:43 +01:00
Christophe Matthieu 6bd7084476 [IMP] summernote lib: extend createlink to allow to add a class on a link 2015-01-05 10:59:43 +01:00
Christophe Matthieu 12bbcda4c2 [IMP] summernote lib: check if a plugin add a method before the summernote methods because the plugins may be want to overwrite a default comportment. Key and click call plugins with more arguments (to allow the change and use of the lib) and the same arguments (some plugins can use button and key command for the same method)
https://github.com/summernote/summernote/pull/809
2015-01-05 10:59:42 +01:00
Christophe Matthieu 685d447892 [IMP] summernote: change lib for overwrite method 2015-01-05 10:17:10 +01:00
Christophe Matthieu 1596e45e81 [IMP] website: add summernote lib 2015-01-05 10:17:10 +01:00