Jump to content

WebComponents in Presta


Recommended Posts

Hello, everyone,

I have built a nice visualization for my products based on: https://stenciljs.com/

Now I can "simply" integrate my component via <resin></resin> and get started. Unfortunately, Presta TinyMCE (?) is a little bit of a mess. When I edit a page I can use the "source editor" to enter my tag, but it is discarded when saving. I haven't found a way yet that the admin interface takes over the tag. I currently have to add my tag via the database after every change, which is annoying.

Allegedly you can add the tag under ./js/admin/tinymce.inc.js

    extended_valid_elements: "em[class|name|id],@[role|data-*|aria-*],resin",

but with no success..

Does anyone still have ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...