Trevor Parscal has uploaded a new change for review. Change subject: Added undo-before-apply for new link annotations ......................................................................
Added undo-before-apply for new link annotations When the link inspector is used to create a new annotation, the text is annotated with the default link target derived from the selected text. Then if the inspector is used to change that value, yet another transaction is processed when the inspector is closed. To avoid having to press undo 2x, this change makes the inspector undo it's first change before applying the changed annotation. This change also introduces insert, remove and select content actions. Change-Id: I3e29189158fb01336d6b053bc2a8bda2a91a0a46 --- M VisualEditor.php M demos/ve/index.php A modules/ve/actions/ve.ContentAction.js M modules/ve/test/index.html M modules/ve/ui/inspectors/ve.ui.LinkInspector.js 5 files changed, 87 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/42/33842/1 -- To view, visit https://gerrit.wikimedia.org/r/33842 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3e29189158fb01336d6b053bc2a8bda2a91a0a46 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Trevor Parscal <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
