mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +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: {
|
external: {
|
||||||
blacklist: [
|
blacklist: [
|
||||||
// Annotations
|
// Annotations
|
||||||
'link', 'textStyle/span', 'textStyle/font', 'textStyle/underline',
|
'link', 'textStyle/span', 'textStyle/font', 'textStyle/underline', 'meta/language',
|
||||||
// Nodes
|
// Nodes
|
||||||
'inlineImage', 'blockImage', 'div', 'alienInline', 'alienBlock', 'comment'
|
'inlineImage', 'blockImage', 'div', 'alienInline', 'alienBlock', 'comment'
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue