The compositionstart trigger in ContentEditableEntry#replaceTextAtSelection causes ve.ce.Surface#handleInsertion to run, and this appears to be all the VisualEditor integration we need. But if we later decide we need custom TextEntry class, see the earlier revision at https://gerrit.wikimedia.org/r/#/c/264577/3 . Change-Id: Iad6a6eccccdf2ec9822cf7df0f0ace7a95b6bea8
7.4 KiB
7.4 KiB