ace editor, markdown editor
This commit is contained in:
1 parent
be01c9c3f7
commit
2cfc89ca5f
1233 files changed
+24568
-10275
No files matched your search
@@ -39,14 +39,14 @@ tinymce.PluginManager.add('codemirror', function(editor, url) {
|
||||
};
|
||||
|
||||
// Add a button to the button bar
|
||||
editor.addButton('code', {
|
||||
editor.addButton('code_source', {
|
||||
title: 'Source code',
|
||||
image: url + '/img/file-html.png',
|
||||
onclick: showSourceEditor
|
||||
});
|
||||
|
||||
// Add a menu item to the tools menu
|
||||
editor.addMenuItem('code', {
|
||||
editor.addMenuItem('code_source', {
|
||||
icon: 'code',
|
||||
text: 'Source code',
|
||||
context: 'tools',
|
||||
|
||||
Reference in new issue
Block a user