message: wip(text): always set font in style to avoid other css overwrite it
diff: @@ -282,10 +282,13 @@ export function brushSVGTSpan(el: TSpan, scope: BrushScope) {
  attrs['font-weight'] = fontWeight;
  }
  }
  - else {
  - // If user set font manually.
  + // FIXME
  + // Always set font in style to avoid developers set font in the CSS of page and overwrite the attributes.
  + // For example:
  + // text { font: 12px }
  attrs.style = `font: ${font}`;
  - }
  +
  +
  if (text.match(/\s/)) {
  // only enabled when have space in text.
  attrs['xml:space'] = 'preserve';
  