Page MenuHomeWickedGov Phorge

ve.dm.ItalicAnnotation.js
No OneTemporary

Size
883 B
Referenced Files
None
Subscribers
None

ve.dm.ItalicAnnotation.js

/*!
* VisualEditor DataModel ItalicAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* DataModel italic annotation.
*
* Represents `<i>` and `<em>` tags.
*
* @class
* @extends ve.dm.TextStyleAnnotation
* @constructor
* @param {Object} element
*/
ve.dm.ItalicAnnotation = function VeDmItalicAnnotation() {
// Parent constructor
ve.dm.ItalicAnnotation.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.ItalicAnnotation, ve.dm.TextStyleAnnotation );
/* Static Properties */
ve.dm.ItalicAnnotation.static.name = 'textStyle/italic';
ve.dm.ItalicAnnotation.static.matchTagNames = [ 'i', 'em' ];
ve.dm.ItalicAnnotation.static.inferFromView = true;
ve.dm.ItalicAnnotation.static.description = OO.ui.deferMsg( 'visualeditor-annotationbutton-italic-tooltip' );
/* Registration */
ve.dm.modelRegistry.register( ve.dm.ItalicAnnotation );

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 21, 14:29 (3 h, 21 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
48/05/e6a4907d6cdaf05bfe0644d3fe2b
Default Alt Text
ve.dm.ItalicAnnotation.js (883 B)

Event Timeline