使用全功能textAngular额外的功能 [英] Using Full Featured textAngular extra features

查看:983
本文介绍了使用全功能textAngular额外的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从这里下载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>

这篇关于使用全功能textAngular额外的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆