Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Include paste as default Editable TinyMCE plugin #1264
This pull request seeks to specify the
Implementation notes / Open questions:
Previously we'd encouraged TinyMCE plugins to be specified by individual blocks to reflect the fact that Editable should be left as minimal as possible, with blocks individually adding functionality in an isolated way. In this case, paste is argued to be a "global" behavior for any Editable and is enabled for all Editable elements.
The paste plugin is appended regardless of whether the block implements its own
Repeat steps described at #1041, observing that pasting a URL applies a link to the selected text.