diff options
Diffstat (limited to 'views/default/ckeditor/embed_custom_insert_js.php')
-rw-r--r-- | views/default/ckeditor/embed_custom_insert_js.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/ckeditor/embed_custom_insert_js.php b/views/default/ckeditor/embed_custom_insert_js.php new file mode 100644 index 000000000..2b72e58c6 --- /dev/null +++ b/views/default/ckeditor/embed_custom_insert_js.php @@ -0,0 +1,8 @@ + if (CKEDITOR) { + try { + CKEDITOR.instances[textAreaId].insertHtml(content, 'html'); + } catch (e) { + // do nothing. + } + } + |