Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/src/ui/commands/ve.ui.MergeCellsCommand.js
Ðазад
/*! * VisualEditor UserInterface MergeCellsCommand class. * * @copyright See AUTHORS.txt */ /** * UserInterface merge cells command. * * @class * @extends ve.ui.Command * * @constructor */ ve.ui.MergeCellsCommand = function VeUiMergeCellsCommand() { // Parent constructor ve.ui.MergeCellsCommand.super.call( this, 'mergeCells', 'table', 'mergeCells', { supportedSelections: [ 'table' ] } ); }; /* Inheritance */ OO.inheritClass( ve.ui.MergeCellsCommand, ve.ui.Command ); /* Methods */ /** * @inheritdoc */ ve.ui.MergeCellsCommand.prototype.isExecutable = function ( fragment ) { // Parent method return ve.ui.MergeCellsCommand.super.prototype.isExecutable.apply( this, arguments ) && fragment.getSelection().isMergeable( fragment.getDocument() ); }; /* Registration */ ve.ui.commandRegistry.register( new ve.ui.MergeCellsCommand() );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка