HomePhabricator

[BREAKING CHANGE] Give the converter a 'fromClipboard' mode

Authored by Esanders.

Description

[BREAKING CHANGE] Give the converter a 'fromClipboard' mode

Matches the 'forClipboard' mode when doing model to DOM conversions.

Use this mode to normalize annotations to their default tag on paste.

Changes the signature of ve.dm.Converter#getModelFromDom.

Bug: T94724
Bug: T85377
Change-Id: I964e73f116d128210d35fcaff47c70f030af7ddb