Skip to content

Add "styled" mark type

Alf Eaton requested to merge styled-content-mark into master

A styled mark has an rid attribute which references an MPInlineStyle object.

  • Serialized to DOM as as <span class="styled-content" data-inline-style="{inlineStyle._id}">…</span>.
  • Serialized to HTML as <span class="styled-content {normalize(inlineStyle.title)}">…</span>.
  • Serialized to JATS as <styled-content style="{normalize(inlineStyle.title)}">…</styled-content>.
Edited by Alf Eaton

Merge request reports