First of all, thanks for developing this awesome plugin. I love the annotations driven generation of all of the XML files for CQ content components.
I was trying to create a richtext editor with a custom Styles list, and that's when I encountered the bug. The private RtePlugin buildStylesRtePlugin(RichTextEditor rteAnnotation) method was outputting the styles under a node named "spellcheck", and the expected WidgetCollection sub node named styles was also missing. The output was like the following block, which CQ didn't interpret correctly as a Styles drop down menu:
First of all, thanks for developing this awesome plugin. I love the annotations driven generation of all of the XML files for CQ content components.
I was trying to create a richtext editor with a custom Styles list, and that's when I encountered the bug. The
private RtePlugin buildStylesRtePlugin(RichTextEditor rteAnnotation)
method was outputting the styles under a node named "spellcheck", and the expected WidgetCollection sub node namedstyles
was also missing. The output was like the following block, which CQ didn't interpret correctly as a Styles drop down menu:After the fix I'm requesting you pull into your code, the output in CQ will be as follows: