fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: removing version number from main bar
[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
3073e72
..
45592ef
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/documentElement.js
+++ b/
src/editor/modules/documentCanvas/canvas/documentElement.js
@@
-102,7
+102,7
@@
$.extend(DocumentNodeElement.prototype, {
contentContainer = $('<div>')
.attr('document-element-content', '');
contentContainer = $('<div>')
.attr('document-element-content', '');
- wrapper.append(
widgetsContainer, content
Container);
+ wrapper.append(
contentContainer, widgets
Container);
widgetsContainer.find('*').add(widgetsContainer).attr('tabindex', -1);
return wrapper;
},
widgetsContainer.find('*').add(widgetsContainer).attr('tabindex', -1);
return wrapper;
},
@@
-112,7
+112,6
@@
$.extend(DocumentNodeElement.prototype, {
detach: function() {
var parents = this.parents();
this.dom.detach();
detach: function() {
var parents = this.parents();
this.dom.detach();
- this.canvas = null;
if(parents[0]) {
parents[0].refreshPath();
}
if(parents[0]) {
parents[0].refreshPath();
}
@@
-133,6
+132,8
@@
$.extend(DocumentNodeElement.prototype, {
this.toggleHighlight(toggle);
},
this.toggleHighlight(toggle);
},
+ markAsCurrent: function() {},
+
toggleHighlight: function(toggle) {
this._container().toggleClass('highlighted-element', toggle);
},
toggleHighlight: function(toggle) {
this._container().toggleClass('highlighted-element', toggle);
},
@@
-186,7
+187,6
@@
$.extend(DocumentTextElement.prototype, {
},
detach: function() {
this.dom.detach();
},
detach: function() {
this.dom.detach();
- this.canvas = null;
return this;
},
setText: function(text) {
return this;
},
setText: function(text) {