mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Strip language annotations on external import
These are likely to have been generated by a parent language setting, rather than an a specific inline annotation. This won't affect ve-to-ve copy paste. Bug: T95708 Change-Id: Ic8fe417ab6ffa74e85ab170f413b13b83589293d
This commit is contained in:
parent
d554d39658
commit
e229e73fc6
|
@ -238,7 +238,7 @@ ve.init.mw.Target.static.importRules = {
|
|||
external: {
|
||||
blacklist: [
|
||||
// Annotations
|
||||
'link', 'textStyle/span', 'textStyle/font', 'textStyle/underline',
|
||||
'link', 'textStyle/span', 'textStyle/font', 'textStyle/underline', 'meta/language',
|
||||
// Nodes
|
||||
'inlineImage', 'blockImage', 'div', 'alienInline', 'alienBlock', 'comment'
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue