Fixed logic of element attributes updating.
Merge branch 't/11780' into major
A basic concept of snippet plugin.
Disabled tags in PRE. Added save button. Code refactoring.
Created (dev): CKEDITOR.ajax.post.
Mocked syntax highlighting with external library.
Added geshi.
Added dialog for providing code content / lang.
Fixed characters escaping.
Removed snippet bar, and functions related to inline gui/interaction.
Removed fancyView usage, since it's not needed anymore.
Removed custom mouse handling logic, added widget mask to prevent links in formatted code (i.e. Geshi produces it).
Added possibility to change highlighter. Removed Geshi, added highlight.js.
Added snippet geshi plugin.
Snippet plugin:
* setHighlighter will now take additionally languages parameter
* removed plugin beforeInit and init functions - all combined into afterInit
Updated sample for snippets (encoded code placed inside textarea)
Snippetgeshi updated with few samples languages
Updated supported languages list for highlight.js and made it actively using given language if any picked.
Fixed missing <pre> element in widget template.
Added possibility to change higlight.js template.
Updated css adding to use config.contentsCss.
Downcasting simplified, and fixed correct code encoding.
Fixed entities encoding in case of plain code (when no language was selected).
Codestyle and copyright update.