Luke Leber

Results 8 comments of Luke Leber

Adding a link to the issue that may be closed by this: Closes https://github.com/select2/select2/issues/5993

Exact same thing here trying to implement an accordion widget. Changing the element type from `button` to `span` causes it to work, so it does seem to be related to...

Schema: ``` const schema = this.editor.model.schema; schema.register('accordion', { isObject: true, allowWhere: '$block', }); schema.register('accordionButton', { isLimit: true, allowIn: 'accordion', allowContentOf: '$block', }); schema.register('accordionContent', { isLimit: true, allowIn: 'accordion', allowContentOf: '$root',...

Actually, had 20 between meetings, here goes! https://github.com/lal65/ooe_ckeditor5 Ultimately, I need to model this: https://psu-ooe.github.io/?p=viewall-molecules-accordion -- the upstream HTML structure _**cannot change**_. /cc @lauriii

@tlo450 - unfortunately not. I highly doubt that CKE5 will be able to support our design system based on what I've seen so far :-(. Maybe in the future when...

Thanks, @lauriii - my only question at this point is: > Is this something that I can set up for a client and expect not to break moving forward?

Very interesting, @sascha-meissner! I wonder if this works by design, or if that's rather a happy accident that can/will break randomly in a future version? I've been hesitant to implement...