mediawiki-extensions-CodeMi.../resources/dist
MusikAnimal 6be3bf62f0 CM6: add destroy method, fix removal of textSelection, add more hooks
CodeMirror is meant to be used without WikiEditor, so we add a destroy()
method that does much the same things as CodeMirrorWikiEditor.

The hooks added with this patch aren't used by anything yet, but offer
feature parity with CodeMirrorWikiEditor, which fires the
'ext.CodeMirror.switch' hook. That hook can't be moved for
backwards-compatibility reasons.

The actual fix for T360075 here was to nullify the `textSelection` class
property.

Bug: T360075
Change-Id: Ife6a3f1ef90df66cd1bf8bab33c9ef3b39ed17a0
2024-03-26 13:35:58 -04:00
..
codemirror.js CM6: add destroy method, fix removal of textSelection, add more hooks 2024-03-26 13:35:58 -04:00
codemirror.mode.mediawiki.js CM6: Switch to using Rollup instead of Webpack; make RL-compatible 2024-03-19 22:48:52 -04:00
codemirror.wikieditor.mediawiki.js CM6: add destroy method, fix removal of textSelection, add more hooks 2024-03-26 13:35:58 -04:00
vendor.js CM6: Switch to using Rollup instead of Webpack; make RL-compatible 2024-03-19 22:48:52 -04:00