disabled ckeditor source mode fallback
This commit is contained in:
parent
b959adf5c8
commit
961add3ff6
@ -185,9 +185,7 @@ function serendipity_imageSelector_addToBody (str, textarea)
|
|||||||
if (oEditor.mode == "wysiwyg") {
|
if (oEditor.mode == "wysiwyg") {
|
||||||
// if here the editior is in WYSIWYG mode so use the insert html function
|
// if here the editior is in WYSIWYG mode so use the insert html function
|
||||||
oEditor.insertHtml(str);
|
oEditor.insertHtml(str);
|
||||||
} else {
|
// CKEDITOR.editor.mode = "source" disables function buttons, so using the fallback is redundant and could even confuse
|
||||||
// if here just insert the text to the textarea ( named with the value of textarea variable )
|
|
||||||
noWysiwygAdd( str, textarea );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for FCKEditor usage
|
// check for FCKEditor usage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user