You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That doesn't work because 'value' is a property not an HTML attribute. It's only assignable via JavaScript.
To answer your question. Yes, the inline source feature is intended for declaratively defining the initial value of the editor declaratively in HTML.
Generally, I've found 4 useful strategies for setting complex data on a standard web component.
attributes (HTML)
properties (JS)
inline (HTML)
fetch
I just need to implement inline source support for this element. It makes a lot more sense for general use. Fetch works great but adds a lot of overhead, especially on pages with many instances of this component.
Add the ability to load the source from an inline
<script>
tagThe text was updated successfully, but these errors were encountered: