fnp
/
fnpeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bbb810b
)
editor: refactoring - remove old unnecessary markup
author
Aleksander Łukasz
<aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 26 May 2014 10:46:40 +0000
(12:46 +0200)
committer
Aleksander Łukasz
<aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 28 May 2014 12:45:58 +0000
(14:45 +0200)
src/editor/modules/documentCanvas/documentCanvas.js
patch
|
blob
|
history
src/editor/modules/documentCanvas/documentCanvas.less
patch
|
blob
|
history
src/editor/modules/documentCanvas/template.html
patch
|
blob
|
history
diff --git
a/src/editor/modules/documentCanvas/documentCanvas.js
b/src/editor/modules/documentCanvas/documentCanvas.js
index
8742aef
..
651788e
100644
(file)
--- a/
src/editor/modules/documentCanvas/documentCanvas.js
+++ b/
src/editor/modules/documentCanvas/documentCanvas.js
@@
-70,7
+70,7
@@
return function(sandbox) {
},
setDocument: function(wlxmlDocument) {
canvas.loadWlxmlDocument(wlxmlDocument);
},
setDocument: function(wlxmlDocument) {
canvas.loadWlxmlDocument(wlxmlDocument);
- canvasWrapper.find('#rng-module-documentCanvas-content').empty().append(canvas.view());
+ canvasWrapper.find('#rng-module-documentCanvas-content
Wrapper
').empty().append(canvas.view());
},
highlightElement: function(node) {
canvas.toggleElementHighlight(node, true);
},
highlightElement: function(node) {
canvas.toggleElementHighlight(node, true);
diff --git
a/src/editor/modules/documentCanvas/documentCanvas.less
b/src/editor/modules/documentCanvas/documentCanvas.less
index
f2e714f
..
d1042c2
100644
(file)
--- a/
src/editor/modules/documentCanvas/documentCanvas.less
+++ b/
src/editor/modules/documentCanvas/documentCanvas.less
@@
-8,11
+8,6
@@
height: 100%;
}
height: 100%;
}
-#rng-module-documentCanvas-mainArea {
- height: 100%;
- margin-bottom: 20px;
-}
-
#rng-module-documentCanvas-contentWrapper {
border-color: #ddd;
border-style: solid;
#rng-module-documentCanvas-contentWrapper {
border-color: #ddd;
border-style: solid;
diff --git
a/src/editor/modules/documentCanvas/template.html
b/src/editor/modules/documentCanvas/template.html
index
63dc331
..
7a32c16
100644
(file)
--- a/
src/editor/modules/documentCanvas/template.html
+++ b/
src/editor/modules/documentCanvas/template.html
@@
-1,7
+1,4
@@
<div id="rng-module-documentCanvas">
<div id="rng-module-documentCanvas">
- <div id="rng-module-documentCanvas-mainArea">
- <div id="rng-module-documentCanvas-contentWrapper">
- <div id="rng-module-documentCanvas-content"></div>
- </div>
+ <div id="rng-module-documentCanvas-contentWrapper">
</div>
</div>
\ No newline at end of file
</div>
</div>
\ No newline at end of file