使用全功能textAngular额外的功能全功能、功能、textAngular

由网友(檸萌啵啵)分享简介:我从这里下载textAngular:I've downloaded textAngular from here:https://github.com/mfrye/textAngular 和我想要的颜色选择器,字体大小/家庭的额外功能,这是我的脚本的链接:And all i want is the extra f...

我从这里下载textAngular:

I've downloaded textAngular from here:

https://github.com/mfrye/textAngular

和我想要的颜色选择器,字体大小/家庭的额外功能,这是我的脚本的链接:

And all i want is the extra features of color-picker and font-size/family, This is my scripts links:

<script src=[[asset('vendor/textAngular-master/textAngular-sanitize.min.js')]]></script>
<script src=[[asset('vendor/textAngular-master/textAngular.min.js')]]></script>

和我打开它是这样的:

<text-angular ng-model="quest.txt"></text-angular>

现在在我的工具栏,我看到默认的(在这里列表中的:的 https://github.com/fraywing/textAngular/wiki/Customising-The-Toolbar )如何查看/用多余的吗?

Now in my toolbar i see the default ones(The ones in the list here:https://github.com/fraywing/textAngular/wiki/Customising-The-Toolbar) How can i see/use the extra ones?

推荐答案

有两种选择,全局和实例。

There are two options, global and instance.

有关全局选项的详细信息请看这里: https://github.com/fraywing / textAngular /维基/设置 - 默认。 (这是taToolbar选项)如果你是在一个实例设置它只能使用TA-工具栏属性,如下所示:&LT;文本角度TA-工具栏=[[H1,H2, H3],['大胆','斜体','colourRed']&GT;&LT; /文本的角度&GT; For details on the global options see here: https://github.com/fraywing/textAngular/wiki/Setting-Defaults. (It's the taToolbar option) If you are setting it on one instance only use the 'ta-toolbar' attribute as shown here: <text-angular ta-toolbar="[['h1','h2','h3'],['bold','italics','colourRed']]"></text-angular>
阅读全文

相关推荐

最新文章