add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
(function() {
tinymce.PluginManager.add( 'add_quotes', function( editor, url ) {
editor.addButton('open_quote', {
title: 'Открывающая кавычка',
cmd: 'open_quote',
text: ' « '
});
editor.addCommand('open_quote', function() {
editor.execCommand('mceReplaceContent', false, "«");
return;
});
editor.addButton('close_quote', {
title: 'Закрывающая кавычка',
cmd: 'close_quote',
text: ' » '
});
editor.addCommand('close_quote', function() {
editor.execCommand('mceReplaceContent', false, "»");
return;
});
});
})();