Open PINHOf opened 2 years ago
After adding the dependency & applied the object into tools, like:
tools
anyTuneName: { class: AlignmentTuneTool, config: { default: "right", blocks: { header: 'center', list: 'right' } }, }, paragraph: { class: Paragraph, inlineToolbar: true, tunes: ['anyTuneName'], },
The error: AlignmentTuneTool is not defined shows up. I even tried with window.AlignmentTuneTool but no success.
AlignmentTuneTool is not defined
window.AlignmentTuneTool
JSFiddle demo
@PINHOf thank you, make the issue, readme is wrong,
so, use AlignmentBlockTune
AlignmentBlockTune
After adding the dependency & applied the object into
tools
, like:The error:
AlignmentTuneTool is not defined
shows up. I even tried withwindow.AlignmentTuneTool
but no success.JSFiddle demo