Commit fed72a57 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Support for user configurable text editor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15826 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bf54b83b
No related merge requests found
......@@ -56,5 +56,27 @@ class Preference:
'type' : 'string',
'preference' : 1,
'mode' : 'w'},
{ 'id' : 'preferred_text_editor',
'description' : 'Preferred Text Editor',
'type' : 'selection',
'select_variable' : 'getPreferredTextEditorSelectionList',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_text_format',
'description' : 'Preferred Text Format',
'type' : 'selection',
'select_variable' : 'getPreferredTextFormatSelectionList',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_text_editor_selection',
'description' : 'List of possible values for preferred_document_text_editor',
'type' : 'tokens',
'default' : ['text_area','fck_editor',],
'mode' : 'w'},
{ 'id' : 'preferred_text_format_selection',
'description' : 'List of possible values for preferred_document_text_format',
'type' : 'tokens',
'default' : ['plain','html',],
'mode' : 'w'},
)
Markdown is supported
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