File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
aztec/src/main/kotlin/org/wordpress/aztec/plugins Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ package org.wordpress.aztec.plugins
44 * Use this plugin in order to override the default text paste behaviour. An example is overriding the paste so that
55 * you can handle pasted URLs as links over the selected text.
66 */
7- interface ITextPastePlugin : IAztecPlugin {
7+ interface ITextPastePlugin : IAztecPlugin {
88 /* *
99 * This method is called when the cursor is placed into the editor, no text is selected and the user pastes text
1010 * into the editor. This method should return HTML (plain text is OK if you don't apply any changes to the pasted
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ class UrlPastePlugin : ITextPastePlugin {
1717 pastedText
1818 }
1919 }
20+
2021 /* *
2122 * If the pasted text is a link, make sure the selected text is wrapped with `a` tag and not removed.
2223 */
You can’t perform that action at this time.
0 commit comments