Page MenuHomeWickedGov Phorge

ve.dm.BoldAnnotation.js
No OneTemporary

Size
865 B
Referenced Files
None
Subscribers
None

ve.dm.BoldAnnotation.js

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

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 10:51 (8 h, 43 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
37/7f/07b317dbf1e28e8de4cce5dc6940
Default Alt Text
ve.dm.BoldAnnotation.js (865 B)

Event Timeline