ckeditor 4 is not an understandable sub-version (rewritten and deleted version information). I installed the codesnippet plugin for it, which in turn required widget and lineutils plugins. He put them there, then he swears:

  1. Uncaught TypeError: CKEDITOR.style.addCustomHandler is not a function

  2. Uncaught TypeError: CKEDITOR.tools.objectKeys is not a function

What is wrong doing? Version of ckeditor and plugin does not match? Added to config

config.extraPlugins = 'codesnippet'; 

    0