Open siliconjungle opened 3 years ago
const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public', false, true]) ].reduce(json1.type.compose, null)
Should be const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public'], false, true) ].reduce(json1.type.compose, null)
const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public'], false, true) ].reduce(json1.type.compose, null)
Aah good catch. PR and I’ll merge it
const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public', false, true]) ].reduce(json1.type.compose, null)
Should be
const op = [ json1.insertOp([], {title: '', contents: '', public: false}), json1.editOp(['title'], 'text-unicode', ['My cool blog entry']), json1.replaceOp(['public'], false, true) ].reduce(json1.type.compose, null)