Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
a306c7c6
Commit
a306c7c6
authored
Sep 23, 2014
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: allow to select code mirror for text and code editors
parent
66c11a7a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_getAvailableSourceCodeEditorList.xml
...erp5_core/Preference_getAvailableSourceCodeEditorList.xml
+3
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_getAvailableTextEditorList.xml
...skins/erp5_core/Preference_getAvailableTextEditorList.xml
+3
-0
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_getAvailableSourceCodeEditorList.xml
View file @
a306c7c6
...
...
@@ -55,6 +55,9 @@
if getattr(context.portal_skins, "erp5_ace_editor", None) is not None:\n
editor_list.append(("Ace Editor", "ace"))\n
\n
if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:\n
editor_list.append(("Code Mirror", "codemirror"))\n
\n
return editor_list\n
</string>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_getAvailableTextEditorList.xml
View file @
a306c7c6
...
...
@@ -59,6 +59,9 @@ if getattr(context.portal_skins, "erp5_xinha_editor", None) is not None:\n
if getattr(context.portal_skins, "erp5_ace_editor", None) is not None:\n
text_editor_list.append(("Ace Editor", "ace"))\n
\n
if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:\n
text_editor_list.append(("Code Mirror", "codemirror"))\n
\n
return text_editor_list\n
</string>
</value>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment