editor i18n
This commit is contained in:
1 parent
3baa31d44c
commit
0e45f2c17f
11 files changed
+385
-5
No files matched your search
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* leanote code plugin
|
||||
*/
|
||||
|
||||
tinymce.PluginManager.requireLangPack('leanote_code');
|
||||
|
||||
tinymce.PluginManager.add('leanote_code', function(editor, url) {
|
||||
var ed = editor;
|
||||
|
||||
@@ -75,8 +81,8 @@ tinymce.PluginManager.add('leanote_code', function(editor, url) {
|
||||
}
|
||||
return {
|
||||
type: 'listbox',
|
||||
text: "代码语言",
|
||||
tooltip: "ctrl+shift+c 切换代码",
|
||||
text: "codeLang",
|
||||
tooltip: "toggleCode",
|
||||
values: items,
|
||||
fixedWidth: true,
|
||||
onselect: function(e) {
|
||||
|
||||
Reference in new issue
Block a user