javascript - Adding Theme and Auto complete option to Tinymce -
http://www.avoid.org/codemirror-for-tinymce4/ here example tinymce , codemirror.
i want implement autocomplete , add theme codemirror here, didn't work
tinymce.init({ selector: '#html', plugins: 'codemirror', toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | code', codemirror: { indentoninit: true, // whether or not indent code on init. path: 'codemirror', // path codemirror distribution extrakeys: { 'ctrl-space': 'autocomplete' // auto complete didn't working }, config: { linenumbers: true, theme: "abcdef", //theme didn't work } } });
Comments
Post a Comment