diff --git a/AvocadoEdition_Light/plugin/editor/smarteditor2/autosave.editor.js b/AvocadoEdition_Light/plugin/editor/smarteditor2/autosave.editor.js
index 4997876..49dc975 100644
--- a/AvocadoEdition_Light/plugin/editor/smarteditor2/autosave.editor.js
+++ b/AvocadoEdition_Light/plugin/editor/smarteditor2/autosave.editor.js
@@ -1,13 +1,11 @@
-function get_editor_wr_content()
-{
- return oEditors.getById['wr_content'].getIR();;
+function get_editor_wr_content() {
+ return oEditors.getById['wr_content'].getIR();;
}
-function put_editor_wr_content(content)
-{
- oEditors.getById["wr_content"].exec("SET_CONTENTS", [""]);
- //oEditors.getById["wr_content"].exec("SET_IR", [""]);
- oEditors.getById["wr_content"].exec("PASTE_HTML", [content]);
+function put_editor_wr_content(content) {
+ oEditors.getById["wr_content"].exec("SET_CONTENTS", [""]);
+ //oEditors.getById["wr_content"].exec("SET_IR", [""]);
+ oEditors.getById["wr_content"].exec("PASTE_HTML", [content]);
- return;
-}
\ No newline at end of file
+ return;
+}
diff --git a/AvocadoEdition_Light/plugin/editor/smarteditor2/config.js b/AvocadoEdition_Light/plugin/editor/smarteditor2/config.js
index a8b4c50..f0ac88d 100644
--- a/AvocadoEdition_Light/plugin/editor/smarteditor2/config.js
+++ b/AvocadoEdition_Light/plugin/editor/smarteditor2/config.js
@@ -12,7 +12,7 @@
bUseVerticalResizer: true,
bUseModeChanger: true,
bSkipXssFilter: true,
- aAdditionalFontList : editorAdditionalFontList,
+ aAdditionalFontList: editorAdditionalFontList,
fOnBeforeUnload: function () {
// unload
}
@@ -21,13 +21,13 @@
const extraFont = document.head.querySelector('#extra_font');
if (extraFont) {
const fontStyle = extraFont.textContent || extraFont.innerText;
-
+
const editorDocument = oEditors.getById[get_id].getWYSIWYGDocument();
const editorHead = editorDocument.getElementsByTagName("head")[0];
const editorStyle = editorDocument.createElement("style");
editorStyle.appendChild(editorDocument.createTextNode(fontStyle));
editorHead.appendChild(editorStyle);
-
+
const iframes = document.getElementsByTagName('iframe');
for (let i = 0; i < iframes.length; i++) {
if (iframes[i].src.indexOf('SmartEditor2Skin.html') !== -1) {
diff --git a/AvocadoEdition_Light/plugin/editor/smarteditor2/editor.lib.php b/AvocadoEdition_Light/plugin/editor/smarteditor2/editor.lib.php
index 25528de..0d9f61e 100644
--- a/AvocadoEdition_Light/plugin/editor/smarteditor2/editor.lib.php
+++ b/AvocadoEdition_Light/plugin/editor/smarteditor2/editor.lib.php
@@ -30,8 +30,8 @@ function editor_html($id, $content, $is_dhtml_editor = true)
if ($is_dhtml_editor && $js) {
$html .= "\n";
- $html .= "\n";
$html .= "\n";
$html .= "\n
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+