mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fix added extra line in front of content
This commit is contained in:
parent
28f270e98c
commit
6b633b2c50
@ -491,6 +491,7 @@ var language_code = {
|
|||||||
var name = "#"+"'.$_name.'".replace( /(:|\.|\[|\]|,|=|@)/g, "\\\$1" );
|
var name = "#"+"'.$_name.'".replace( /(:|\.|\[|\]|,|=|@)/g, "\\\$1" );
|
||||||
var height = "'.$_height.'";
|
var height = "'.$_height.'";
|
||||||
var width = "'.$_width.'";
|
var width = "'.$_width.'";
|
||||||
|
var value = jQuery(name).val();
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
selector: name,
|
selector: name,
|
||||||
menubar: parseInt('. $rte_menubar.')? true : false,
|
menubar: parseInt('. $rte_menubar.')? true : false,
|
||||||
@ -534,6 +535,7 @@ tinymce.init({
|
|||||||
console.log(_editor);
|
console.log(_editor);
|
||||||
_editor.execCommand("fontName", true,"'.$font.'");
|
_editor.execCommand("fontName", true,"'.$font.'");
|
||||||
_editor.execCommand("fontSize", true,"'.$font_size.$font_size_unit.'");
|
_editor.execCommand("fontSize", true,"'.$font_size.$font_size_unit.'");
|
||||||
|
_editor.setContent(value);
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
"print fullpage searchreplace autolink directionality "+
|
"print fullpage searchreplace autolink directionality "+
|
||||||
|
Loading…
Reference in New Issue
Block a user