Documentation of allowed elements/attributes syntax

Created on 5 June 2024, about 1 year ago

Hi, what is the expected syntax for the list of allowed elements/attributes? Would it be possible to give an example of how to allow anchor links with an "id" attribute?

Eg, would it be something like this?

<a id>

What if we wanted to allow any attribute? Something like this?

<a *>

πŸ’¬ Support request
Status

Active

Version

1.2

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States brockfanning

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @brockfanning
  • πŸ‡ΊπŸ‡ΈUnited States brockfanning

    Just following up - in practice it seems like the syntax is indeed like what I posted above:

    <a id>

    But it seems the single wildcards are not supported. So this would not work as expected:

    <a *>

    The hacky way to allow all attributes would be something like:

    <a a* b* c* d* e* f* g* h* i* j* k* l* m* n* o* p* q* r* s* t* u* v* w* x* y* z*>

Production build 0.71.5 2024