1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-25 15:22:24 +01:00

Ripristino SpellChecker per ckeditor

This commit is contained in:
Luca 2021-05-26 15:43:18 +02:00
parent 22bbe607ff
commit 0bebcd17d4
4 changed files with 6 additions and 4 deletions

View File

@ -100,6 +100,8 @@ function initCKEditor(input) {
disableNativeSpellChecker: false,
fullPage: (input.hasAttribute('use_full_ckeditor')) ? true : false,
allowedContent: (input.hasAttribute('use_full_ckeditor')) ? true : false,
extraPlugins: 'scayt',
skin: 'moono-lisa',
});
// Gestione di eventi noti

View File

@ -275,8 +275,8 @@ function srcFonts() {
function ckeditor() {
return gulp.src([
config.nodeDirectory + '/ckeditor4-dev/{adapters,lang,skins,plugins,core}/**/*.{js,json,css,png}',
config.nodeDirectory + '/ckeditor4-dev/*.{js,css}',
config.nodeDirectory + '/ckeditor4/{adapters,lang,skins,plugins,core}/**/*.{js,json,css,png}',
config.nodeDirectory + '/ckeditor4/*.{js,css}',
])
.pipe(gulp.dest(config.production + '/' + config.paths.js + '/ckeditor'));
}

View File

@ -198,7 +198,7 @@ if (Auth::check()) {
end_date_formatted: "'.Translator::dateToLocale($_SESSION['period_end']).'",
ckeditorToolbar: [
["Undo","Redo","-","Cut","Copy","Paste","PasteText","PasteFromWord","-","Scayt", "-","Link","Unlink","-","Bold","Italic","Underline","Superscript","SpecialChar","HorizontalRule","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","NumberedList","BulletedList","Outdent","Indent","Blockquote","-","Styles","Format","Image","Table", "TextColor", "BGColor" ],
["Undo","Redo","-","Cut","Copy","Paste","PasteText","PasteFromWord","-","SpellChecker", "Scayt", "-","Link","Unlink","-","Bold","Italic","Underline","Superscript","SpecialChar","HorizontalRule","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","NumberedList","BulletedList","Outdent","Indent","Blockquote","-","Styles","Format","Image","Table", "TextColor", "BGColor" ],
],
ckeditorToolbar_Full: [
{ name: "document", items : [ "Source" ] },

View File

@ -10,7 +10,7 @@
"bootstrap-daterangepicker": "^2.1.25",
"bootstrap-maxlength": "^1.10.0",
"chart.js": "^2.7.0",
"ckeditor4-dev": "^4.14.1",
"ckeditor4": "^4.16.1",
"components-jqueryui": "^1.12.1",
"datatables.net-bs": "^1.10.15",
"datatables.net-buttons-bs": "^1.3.1",