MindMup编辑器 - 如何将类添加到选定的字符串

时间:2017-10-27 11:03:43

标签: javascript php html mindmap

我刚刚发现了MindMup,我需要添加一种方法,将类应用于span标记,就像显示如何更改字体或背景颜色一样。

<a data-edit="fontName 'Arial Black'"> produces <font face="Arial Black">string</font>
<a data-edit="backColor #xxx"> produces <span style="background-color: rgb(x,x,x);">string</span>

我尝试<a data-edit="class myclass">获取<span class="myclass">string</span>,但它不起作用!

我在哪里学习如何做到这一点?

0 个答案:

没有答案