Commit Graph
20 Commits
Author SHA1 Message Date
Christophe Matthieu c35f8a7b48 [FIX] summernote: when the editor create a link, we need to use deleteContents with the flag to_write as true to insert the link at the same place. 2015-04-09 16:07:12 +02:00
Christophe Matthieu 2f5e4149fb [FIX] summernote: wrap the content with p when the user keyup on 'enter' but should not wrap the content if the editable area is a p, li or other para 2015-03-23 12:25:06 +01:00
Christophe Matthieu 513d1a26d1 [FIX] summernote: Summernote change the native id of the editable area if a script use a unique id, summernote break the default comportment. Replace id by data-note-id to set the editor 'id' 2015-03-09 16:33:03 +01:00
Christophe Matthieu ebc5b3b11b [IMP] summernote: dom.isImg is unnecessary, because isVoid function contains that. 2015-02-12 11:58:11 +01:00
Christophe Matthieu 64b0c36f16 [FIX] summernote lib: scroll to top when click on input in editable mode 2015-01-23 12:14:15 +01:00
Christophe Matthieu 60efc27f15 [FIX] website editor: can't select a picture followed by a br tag 2015-01-23 12:14:15 +01:00
Christophe Matthieu 9477b838c6 [IMP] website editor: move media style options from the customize menu to the top editor bar 2015-01-16 16:38:09 +01:00
Christophe Matthieu 65fee06990 [FIX] summbernote lib: if a content selected with CTRL+a begin by an image, the editor switch to the image editor but the range is not correct. Need to display the image style only for real image edition. 2015-01-16 16:38:08 +01:00
Christophe Matthieu 75341ddcf9 [FIX] summernote lib: summernote raise when we triple click on a br in air mode. (merge proposal create to summernote) 2015-01-16 16:38:08 +01:00
Christophe Matthieu a14c802443 [FIX] summernote: wrong selection and delete when user try to delete a br in a text 2015-01-16 16:38:08 +01:00
Christophe Matthieu 1c6eec023d [UPD] website: update of summernote lib 2015-01-08 11:01:43 +01:00
Christophe Matthieu 7c22b96604 [FIX] summernote lib: When we edit a text in a existing link (with the modal) a link is created into the previous link 2015-01-08 11:01:43 +01:00
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