lino.modlib.tinymce¶
See ;doc:/specs/tinymce.
(This module's source code is available here.)
Functions
|
Classes
|
-
lino.modlib.tinymce.
TINYMCE_VERSION
= '3.5.11'¶ Which version of TinyMCE to use.
With 4.1.10, windows containing a TextField don't open, and the JS console says "TypeError: sp is undefined". That's because we did not yet get Andrew Mayorov's lino/modlib/tinymce/static/byteforce/Ext.ux.TinyMCE.js to work with TinyMCE 4. It seems that either ControlManager or WindowManager no longer are functions in tinymce4.
-
class
lino.modlib.tinymce.
Plugin
(site, app_label, app_name, app_module, needed_by)¶ Bases:
lino.core.plugin.Plugin
-
document_domain
= None¶ The domain name of this production site.
-
window_width
= 500¶ The initial width of the window to use when editing in own window.
-
window_height
= 400¶ The initial height of the window to use when editing in own window.
The toolbar buttons when editing a field inside a detail form.
The first row of toolbar buttons when editing in own window.
The second row of toolbar buttons when editing in own window.
The third row of toolbar buttons when editing in own window.
-
media_name
= 'tinymce-3.5.11'¶ Lino currently includes three versions of TinyMCE, but for production sites we still use the eldest version 3.4.8.
-