Commit 09595c72 authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

Set the global variable "CKEDITOR_BASEPATH" if defined (closes #15956422)

parent f5119788b00c
WYSIWYG js editor with ckeditor
If don't want to use ckeditor from //cdn set following variables in
uiprops of your main cube:
CKEDITOR_URL = data('ckeditor/ckeditor.js')
CKEDITOR_BASEPATH = data('ckeditor/')
......@@ -28,6 +28,9 @@ def fckeditor_config(self):
}, 200);
base_path = self.uiprops.get('CKEDITOR_BASEPATH')
if base_path:
self.html_headers.define_var('CKEDITOR_BASEPATH', base_path)
self.html_headers.define_var('cklang', self.lang)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment