mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Added missing annotation types to domElementTypes array"
This commit is contained in:
commit
7b15b24496
|
@ -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