mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Added missing annotation types to domElementTypes array
Change-Id: I595bce18c4a18397fdb7c91b4b033cad40e57008
This commit is contained in:
parent
2e3821804f
commit
c39c788105
|
@ -31,7 +31,7 @@ ve.inheritClass( ve.dm.TextStyleAnnotation, ve.dm.Annotation );
|
|||
* @member
|
||||
*/
|
||||
ve.dm.TextStyleAnnotation.converters = {
|
||||
'domElementTypes': ['i', 'b', 'u', 's', 'small', 'big', 'span'],
|
||||
'domElementTypes': ['i', 'b', 'u', 's', 'small', 'big', 'span', 'strong', 'em', 'sup', 'sub'],
|
||||
'toDomElement': function ( subType, annotation ) {
|
||||
var map = {
|
||||
'italic': 'i',
|
||||
|
|
Loading…
Reference in a new issue