houdini/client/js/common/editable.js

9 lines
315 B
JavaScript

// 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')