quick fix for editor save button posn.
This commit is contained in:
parent
bec8814929
commit
7e560ab1c2
|
@ -335,7 +335,7 @@ margin-top:0px;
|
|||
}
|
||||
|
||||
.save_text{
|
||||
margin-top:20px;
|
||||
margin-top:30px;
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
|
|
@ -1289,6 +1289,9 @@ function replaceDiv( div ) {
|
|||
height = parseInt($(div).css('height'));
|
||||
height = toPx(height);
|
||||
width = parseInt($(div).css('width'));
|
||||
if (width < 400) {
|
||||
width = 400;
|
||||
}
|
||||
width = toPx(width);
|
||||
|
||||
editor = CKEDITOR.replace( div,
|
||||
|
@ -1302,9 +1305,12 @@ function replaceDiv( div ) {
|
|||
skin: 'v2'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
editor.on("resize", function(e) {
|
||||
alert("hi");
|
||||
console.log(e);
|
||||
});
|
||||
*/
|
||||
/*
|
||||
height = parseInt($(div).css('height')) - 6;
|
||||
height = toPx(height);
|
||||
|
|
|
@ -108,15 +108,17 @@
|
|||
</script>
|
||||
<script type="text/html" id="tmpl_textbox">
|
||||
|
||||
|
||||
<div class="textbox_canvas">
|
||||
<div class="textbox_canvas_content">
|
||||
<%= html %>
|
||||
</div>
|
||||
</div>
|
||||
<input onclick="removeEditor(this);" type="button" class="save_text" value="Save"/>
|
||||
<div class="textbox_canvas_toolbox"></div>
|
||||
|
||||
|
||||
<input onclick="removeEditor(this);" type="button" class="save_text" value="Save"/>
|
||||
|
||||
</script>
|
||||
<script type="text/html" id="tmpl_imagebox">
|
||||
<div class="imagebox_canvas">
|
||||
|
|
Loading…
Reference in New Issue
Block a user