Page MenuHomeWickedGov Phorge

ve.ce.InsertAnnotation.js
No OneTemporary

Size
912 B
Referenced Files
None
Subscribers
None

ve.ce.InsertAnnotation.js

/*!
* VisualEditor ContentEditable InsertAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* ContentEditable insert annotation.
*
* @class
* @extends ve.ce.TextStyleAnnotation
* @constructor
* @param {ve.dm.InsertAnnotation} model Model to observe
* @param {ve.ce.ContentBranchNode} [parentNode] Node rendering this annotation
* @param {Object} [config] Configuration options
*/
ve.ce.InsertAnnotation = function VeCeInsertAnnotation() {
// Parent constructor
ve.ce.InsertAnnotation.super.apply( this, arguments );
// DOM changes
this.$element.addClass( 've-ce-insertAnnotation' );
};
/* Inheritance */
OO.inheritClass( ve.ce.InsertAnnotation, ve.ce.TextStyleAnnotation );
/* Static Properties */
ve.ce.InsertAnnotation.static.name = 'textStyle/insert';
ve.ce.InsertAnnotation.static.tagName = 'ins';
/* Registration */
ve.ce.annotationFactory.register( ve.ce.InsertAnnotation );

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 02:02 (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e8/59/35c62c779760a905a6e07f907a8e
Default Alt Text
ve.ce.InsertAnnotation.js (912 B)

Event Timeline