Commit 574aafdb authored by Jérome Perrin's avatar Jérome Perrin

core: use new CKEditor name

FCK Editor is old name

https://ckeditor.com/old/forums/CKEditor-3.x/Should-FCKeditor-change-its-name
parent 6e5e8e8c
text_editor_list = [("Plain Text", "text_area"), ("FCK Editor", "fck_editor")] text_editor_list = [("Plain Text", "text_area"), ("CKEditor", "fck_editor")]
if getattr(context.portal_skins, "erp5_code_mirror", None) is not None: if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:
text_editor_list.append(("Code Mirror", "codemirror")) text_editor_list.append(("Code Mirror", "codemirror"))
......
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>FCK Editor</string> <string>CKEditor</string>
<string>fck_editor</string> <string>fck_editor</string>
</tuple> </tuple>
<tuple> <tuple>
......
...@@ -48,7 +48,7 @@ from zLOG import LOG ...@@ -48,7 +48,7 @@ from zLOG import LOG
class EditorWidget(Widget.TextAreaWidget): class EditorWidget(Widget.TextAreaWidget):
""" """
A widget that displays a GUI HTML editor widget (based A widget that displays a GUI HTML editor widget (based
on FCK editor). This widget is intended to be used in on CKEditor). This widget is intended to be used in
conjunction with WebSite. conjunction with WebSite.
This Widget does not escape values. This Widget does not escape values.
...@@ -70,7 +70,7 @@ class EditorWidget(Widget.TextAreaWidget): ...@@ -70,7 +70,7 @@ class EditorWidget(Widget.TextAreaWidget):
required=1, required=1,
size=1, size=1,
items=[('Standard Text Area', 'text_area'), items=[('Standard Text Area', 'text_area'),
('FCK Editor', 'fck_editor'), ('CKEditor', 'fck_editor'),
('SVG Editor', 'svg_editor'), ('SVG Editor', 'svg_editor'),
('Spreadsheet Editor', 'spreadsheet_editor'), ('Spreadsheet Editor', 'spreadsheet_editor'),
('CodeMirror', 'codemirror')]) ('CodeMirror', 'codemirror')])
......
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