CKEditor is nice WYSIWYG editor, im really like it but i ha开发者_JS百科ve a problem to find codeinsertion plugin. Basicaly i want nothing special, just something like its labeled "Code Sample" and that wraps content in <code></code> tags. Thanks for any advices!
Use the "Styles" dropdown in the default configuration and select "Computer code".
I spend some time and make this plugin on my own, here is my sollution :)
Insertcode.zip
精彩评论