fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wlxml/editor: rename class uri to link
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
keyboard.js
diff --git
a/src/editor/modules/documentCanvas/canvas/keyboard.js
b/src/editor/modules/documentCanvas/canvas/keyboard.js
index
603249e
..
cd12a02
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/keyboard.js
+++ b/
src/editor/modules/documentCanvas/canvas/keyboard.js
@@
-52,7
+52,7
@@
handlers.push({key: KEYS.ENTER,
if(currentElement) {
canvas.wlxmlDocument.startTransaction();
added = currentElement.data('wlxmlNode').after({
if(currentElement) {
canvas.wlxmlDocument.startTransaction();
added = currentElement.data('wlxmlNode').after({
- tag: currentElement.getWlxmlTag() || 'div',
+ tag
Name
: currentElement.getWlxmlTag() || 'div',
attrs: {'class': currentElement.getWlxmlClass() || 'p'}
});
added.append({text:''});
attrs: {'class': currentElement.getWlxmlClass() || 'p'}
});
added.append({text:''});