appy.gen: replaced tiny_mce with ckeditor.
This commit is contained in:
parent
ba1743b38e
commit
0e7dfa3aaf
469 changed files with 1265 additions and 40371 deletions
|
@ -1411,8 +1411,7 @@ class BaseMixin:
|
|||
def getEditorInit(self, name):
|
||||
'''Gets the Javascrit init code for displaying a rich editor for
|
||||
field p_name.'''
|
||||
return 'tinyMCE.init({\nmode : "textareas",\ntheme : "simple",\n' \
|
||||
'elements : "%s",\neditor_selector : "rich_%s"\n});'% (name,name)
|
||||
return "CKEDITOR.replace('%s', {toolbar: 'Appy'})" % name
|
||||
|
||||
def isTemporary(self):
|
||||
'''Is this object temporary ?'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue