vue-editor-js
vue-editor-js copied to clipboard
Block Tunes seems not to work
I'm trying to set up aligment tune for blocks, but i'm getting this kind of errors:
Uncaught TypeError: Cannot read property 'isInternal' of undefined
Uncaught TypeError: Cannot read property 'holder' of undefined
Uncaught TypeError: Cannot read property 'holder' of undefined
Uncaught TypeError: Cannot read property 'tool' of undefined
The tool repo
Code example:
header: {
class: Header,
config: {
defaultLevel: 3,
inlineToolbar: true,
},
tunes: ["alignmentSetting"],
},
paragraph: {
class: Paragraph,
tunes: ["alignmentSetting"],
},
underline: Underline,
list: {
class: List,
inlineToolbar: true,
tunes: ["alignmentSetting"],
},
alignmentSetting: {
class: AlignmentBlockTune,
config: {
default: "right",
blocks: {
header: "center",
list: "right",
},
},
},```
Thank you for your issue. There are so many jobs these days that I can't get my time. I am so sorry. Can you leave a Pull Request?
I'm experiencing this same isInternal is not defined
error on the Text Alignment tune. Guess it's still not fixed 2 years later? Hard to decipher. I'm using the latest versions of everything, loaded from the CDN.
Note, I'm not using Vue.js, so this issue does not seem to be related to Vue, but instead is local to the Text Alignment Block Tune.