Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 20ce823

Browse files
Gorashdmo-odoo
authored andcommitted
[FIX] OdooWebsiteEditor: Add class used by mass_mailing snippets
1 parent 605e818 commit 20ce823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bundle-odoo-website-editor/OdooWebsiteEditor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class OdooWebsiteEditor extends JWEditor {
233233
render: async (): Promise<VNode[]> => {
234234
const div = new DividerNode();
235235
div.modifiers.get(Attributes).set('contentEditable', 'true');
236-
div.modifiers.get(Attributes).classList.add('note-editable');
236+
div.modifiers.get(Attributes).classList.add('note-editable', 'o_editable');
237237
div.modifiers.get(Attributes).style.set('width', '100%');
238238
const zone = new ZoneNode({ managedZones: ['editable'] });
239239
zone.editable = true;

0 commit comments

Comments
 (0)