editor: automatically convert pasted urls to attachments to a proper links with ...
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 12 May 2014 11:20:50 +0000 (13:20 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 12 May 2014 11:20:50 +0000 (13:20 +0200)
commit796338e669626012da93ebea5ec7afa482a70ed7
treedf4a8fe5bf7cb3a3bb022b9785859e30487d3d1a
parentb9558104eca9970ffba7f8e461e4878e70214114
editor: automatically convert pasted urls to attachments to a proper links with "file://" prefix

Changing p tags to divs in dialog templates is necessary for a jQuery
to create a proper collection object (compare $('<p><div></div></p>')
to $('<div><div></div></div>') in jQuery 1.9.1).
src/editor/modules/data/document.js
src/editor/plugins/core/core.js
src/editor/plugins/core/links/linkElement.js
src/editor/views/dialog/dialog.js
src/editor/views/dialog/templates/checkbox.html
src/editor/views/dialog/templates/input.html
src/editor/views/dialog/templates/select.html
src/editor/views/dialog/templates/textarea.html