Uplink Editorial Semantics adds editorial markup tools to Rich Text fields in the WordPress Block Editor. The saved content uses standard HTML and does not require front-end JavaScript.
Inline formats:
q) with optional BCP 47 language and citation URL attributes.cite) for the title of a creative work.abbr) with a required expanded form.dfn) for the occurrence of a term being defined.span) with optional sanitized CSS classes and one custom data-* name/value pair for cases where no semantic element is appropriate.data-* name/value pair and an optional aria-label to an existing native hyperlink.The Editorial Quotation block saves a figure containing a blockquote and an optional figcaption. Its quotation area accepts Paragraph, Heading, and List blocks. The plugin supplies no front-end styling, allowing the active theme to control presentation.
Human-readable source is included in the plugin’s src directory, and the build configuration is included in package.json. Public source and contribution history are also available at https://github.com/stphnwlkr/uplink-editorial-semantics.
To build the production assets, install Node.js and npm, run npm install, and then run npm run build. The compiled files are written to the build directory.