nested-list
nested-list copied to clipboard
Paste not working because of sanitize
Just add this:
static get sanitize() {
return {
ol: {},
ul: {},
li: {}
};
}
cannot reproduce a problem in the main branch. pasting works correctly.
please add more information.
@talyguryn I use it in "next" branch
in the next branch I still don't see any problems

It occurs to my application too. Content of tag a, code, b are removed after pasted. Replacing with an inherited class as suggested above does NOT fix. I use version v2.26.5.
export class EnhancedNestedListTool extends NestedListTool {
static get sanitize(){
return {
a: {},
b: {},
code: {},
i: {},
}
}
}