mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
74a20b8ec9
Once more with feeling; default alignment when switching between inline to block and vise versa. This time, the problem was mainly that the checkbox for position cannot be updated without triggering its update event. It was triggered, however, before setting up the positioning, which caused the model to run positioning twice and get things wrong. Another smaller fix in this commit was done to make sure that the image model remembers the previous alignment, so when image type changes from inline to block and vise versa, and the alignment was default, it can recalculate default value for the new node. Bug: 65564 Change-Id: I6c16a7855ad7e3ce302fa3d042d0a402251b31f0 |
||
---|---|---|
.. | ||
ve.dm.MWImageModel.js | ||
ve.dm.MWParameterModel.js | ||
ve.dm.MWReferenceModel.js | ||
ve.dm.MWTemplateModel.js | ||
ve.dm.MWTemplatePlaceholderModel.js | ||
ve.dm.MWTemplateSpecModel.js | ||
ve.dm.MWTransclusionContentModel.js | ||
ve.dm.MWTransclusionModel.js | ||
ve.dm.MWTransclusionPartModel.js |