Fixed note copy

This commit is contained in:
Naz 2022-10-06 10:26:23 +08:00
parent fe1d0e44b4
commit 4315b21d25
No known key found for this signature in database

View File

@ -13,7 +13,7 @@ module.exports = (event, model) => {
ops.push(() => {
let frame = {options: {previous: false, context: {user: true}}};
// NOTE: below options are lost in the during event processing, a more holistic approach would be
// @NOTE: below options are lost during event processing, a more holistic approach would be
// to pass them somehow along with the model
if (['posts', 'pages'].includes(docName)) {
frame.options.formats = ['mobiledoc', 'html', 'plaintext'];