definicao de layout

This commit is contained in:
2026-02-06 14:37:54 +00:00
parent 872a5bb3ea
commit a4f80c85c2
2686 changed files with 640668 additions and 294 deletions

View File

@@ -0,0 +1,15 @@
"use strict";
CKEDITOR.replace( 'text-box', {
on: {
contentDom: function( evt ) {
// Allow custom context menu only with table elemnts.
evt.editor.editable().on( 'contextmenu', function( contextEvent ) {
var path = evt.editor.elementPath();
if ( !path.contains( 'table' ) ) {
contextEvent.cancel();
}
}, null, null, 5 );
}
}
} );