我刚刚发现了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>
,但它不起作用!
我在哪里学习如何做到这一点?