mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Added Squire HTML editor as lightweight fast alternative solution for the heavy CKEditor
Some features are still missing (as i need to create own UI) Enable in: [labs] use_squire_html_editor = On
This commit is contained in:
parent
90acc04750
commit
540c70ecbf
8 changed files with 397 additions and 83 deletions
|
|
@ -33,6 +33,19 @@ const fontasticFontsCopy = () =>
|
|||
|
||||
const fontastic = gulp.series(fontasticFontsClear, fontasticFontsCopy);
|
||||
|
||||
// squire
|
||||
const squireClear = () => del('rainloop/v/' + config.devVersion + '/static/squire');
|
||||
|
||||
const squireCopy = () =>
|
||||
gulp
|
||||
.src([
|
||||
'vendors/squire/build/squire.js',
|
||||
'vendors/squire/build/squire-raw.js'
|
||||
])
|
||||
.pipe(gulp.dest('rainloop/v/' + config.devVersion + '/static/squire'));
|
||||
|
||||
const squire = gulp.series(squireClear, squireCopy);
|
||||
|
||||
// ckeditor
|
||||
const ckeditorClear = () => del('rainloop/v/' + config.devVersion + '/static/ckeditor');
|
||||
|
||||
|
|
@ -61,4 +74,4 @@ const ckeditorSetup = () =>
|
|||
|
||||
const ckeditor = gulp.series(ckeditorClear, ckeditorCopy, ckeditorCopyPlugins, ckeditorSetup);
|
||||
|
||||
exports.vendors = gulp.parallel(moment, ckeditor, fontastic, lightgallery);
|
||||
exports.vendors = gulp.parallel(moment, squire, ckeditor, fontastic, lightgallery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue