Ripristino SpellChecker per ckeditor
This commit is contained in:
parent
22bbe607ff
commit
0bebcd17d4
|
@ -100,6 +100,8 @@ function initCKEditor(input) {
|
||||||
disableNativeSpellChecker: false,
|
disableNativeSpellChecker: false,
|
||||||
fullPage: (input.hasAttribute('use_full_ckeditor')) ? true : false,
|
fullPage: (input.hasAttribute('use_full_ckeditor')) ? true : false,
|
||||||
allowedContent: (input.hasAttribute('use_full_ckeditor')) ? true : false,
|
allowedContent: (input.hasAttribute('use_full_ckeditor')) ? true : false,
|
||||||
|
extraPlugins: 'scayt',
|
||||||
|
skin: 'moono-lisa',
|
||||||
});
|
});
|
||||||
|
|
||||||
// Gestione di eventi noti
|
// Gestione di eventi noti
|
||||||
|
|
|
@ -275,8 +275,8 @@ function srcFonts() {
|
||||||
|
|
||||||
function ckeditor() {
|
function ckeditor() {
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
config.nodeDirectory + '/ckeditor4-dev/{adapters,lang,skins,plugins,core}/**/*.{js,json,css,png}',
|
config.nodeDirectory + '/ckeditor4/{adapters,lang,skins,plugins,core}/**/*.{js,json,css,png}',
|
||||||
config.nodeDirectory + '/ckeditor4-dev/*.{js,css}',
|
config.nodeDirectory + '/ckeditor4/*.{js,css}',
|
||||||
])
|
])
|
||||||
.pipe(gulp.dest(config.production + '/' + config.paths.js + '/ckeditor'));
|
.pipe(gulp.dest(config.production + '/' + config.paths.js + '/ckeditor'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -198,7 +198,7 @@ if (Auth::check()) {
|
||||||
end_date_formatted: "'.Translator::dateToLocale($_SESSION['period_end']).'",
|
end_date_formatted: "'.Translator::dateToLocale($_SESSION['period_end']).'",
|
||||||
|
|
||||||
ckeditorToolbar: [
|
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: [
|
ckeditorToolbar_Full: [
|
||||||
{ name: "document", items : [ "Source" ] },
|
{ name: "document", items : [ "Source" ] },
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"bootstrap-daterangepicker": "^2.1.25",
|
"bootstrap-daterangepicker": "^2.1.25",
|
||||||
"bootstrap-maxlength": "^1.10.0",
|
"bootstrap-maxlength": "^1.10.0",
|
||||||
"chart.js": "^2.7.0",
|
"chart.js": "^2.7.0",
|
||||||
"ckeditor4-dev": "^4.14.1",
|
"ckeditor4": "^4.16.1",
|
||||||
"components-jqueryui": "^1.12.1",
|
"components-jqueryui": "^1.12.1",
|
||||||
"datatables.net-bs": "^1.10.15",
|
"datatables.net-bs": "^1.10.15",
|
||||||
"datatables.net-buttons-bs": "^1.3.1",
|
"datatables.net-buttons-bs": "^1.3.1",
|
||||||
|
|
Loading…
Reference in New Issue