houdini/app/javascript/legacy/common/editable.js

11 lines
345 B
JavaScript
Raw Permalink Normal View History

2019-11-06 20:36:28 +00:00
// License: LGPL-3.0-or-later
// 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')