Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/src/ce/annotations/ve.ce.CommentAnnotation.js
Ðазад
/*! * VisualEditor ContentEditable CommentAnnotation class. * * @copyright See AUTHORS.txt */ /** * ContentEditable comment annotation. * * @class * @extends ve.ce.Annotation * @constructor * @param {ve.dm.CommentAnnotation} model Model to observe * @param {ve.ce.ContentBranchNode} [parentNode] Node rendering this annotation * @param {Object} [config] Configuration options */ ve.ce.CommentAnnotation = function VeCeCommentAnnotation() { // Parent constructor ve.ce.CommentAnnotation.super.apply( this, arguments ); // DOM changes this.$element.addClass( 've-ce-commentAnnotation' ); }; /* Inheritance */ OO.inheritClass( ve.ce.CommentAnnotation, ve.ce.Annotation ); /* Static Properties */ ve.ce.CommentAnnotation.static.name = 'commentAnnotation'; ve.ce.CommentAnnotation.static.tagName = 'span'; ve.ce.CommentAnnotation.static.canBeActive = true; /* Static Methods */ /** * @inheritdoc */ ve.ce.CommentAnnotation.static.getDescription = function ( model ) { const comments = model.getAttribute( 'comments' ); return comments[ 0 ].author + ': ' + comments[ 0 ].text; }; /* Registration */ ve.ce.annotationFactory.register( ve.ce.CommentAnnotation );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка