fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
registering textNode/elementNode transformations
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
documentElement.js
diff --git
a/src/editor/modules/documentCanvas/canvas/documentElement.js
b/src/editor/modules/documentCanvas/canvas/documentElement.js
index
116ebf4
..
1c0719f
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/documentElement.js
+++ b/
src/editor/modules/documentCanvas/canvas/documentElement.js
@@
-396,7
+396,7
@@
$.extend(DocumentTextElement.prototype, {
if(params instanceof DocumentNodeElement) {
element = params;
} else {
if(params instanceof DocumentNodeElement) {
element = params;
} else {
- element = Document
Node
Element.create(params, this.canvas);
+ element = DocumentElement.create(params, this.canvas);
}
this.dom().wrap('<div>');
this.dom().parent().after(element.dom());
}
this.dom().wrap('<div>');
this.dom().parent().after(element.dom());