2018-03-25 18:03:08 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
2018-03-25 17:30:42 +00:00
|
|
|
// if you are instantiating more than one WYSIWYG on a page,
|
|
|
|
// be sure to give them id's to differentiate them
|
|
|
|
// to avoid unwanted display side effects
|
|
|
|
|
|
|
|
|
|
|
|
if (app.editor === 'froala')
|
|
|
|
module.exports = require('./editor/froala.es6')
|
|
|
|
else if (app.editor === 'quill')
|
|
|
|
module.exports = require('./editor/quill.es6')
|