I was going to demo how to add links to categories and products in the editor. But all I got to pick was pages. It doesnt seem possible to link to categories or products in any way which I find hard to believe. How is it supposed to work?
I don’t believe the CKEditor has ever supported product and category links, only pages (and media). For some quick research, I tested in every major version since 4.8 and it’s not available.
I see. Unfortunately that renders the editor kind of useless. I’d be happy to build it myself though. Any pointers in how to access the link dialog as the page select is currently doing? I don’t see it in the “config” object passed to ckeditor by Litium.
‘baseProductsAndVariants’ doesn’t work, as according to the documentation only Angluar dialogs are supported by EntitySelectorWrapper. baseProductsAndVariants is AngularJS.
What’s kind of disappointing though is that it looks like the code in EntityTreeSelector supports selecting a category, but EntityTreeSelectorWrapper doesn’t take any input and seems hardcoded to only support pages for no apparent reason.