FlashFXP的代码编辑和文本编辑
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FlashFXP的代码编辑和文本编辑相关的知识,希望对你有一定的参考价值。
有一次我用FlashFXP编辑网页,打开的时候是写字板,里面全是代码,后来我用FlashFXP编辑网页的时候,打开的是 Microsoft Word 里面内容和打开的网站是一样的 ,我想问如何才能切换回代码编辑?
打开FLASHFXP,选项----文件关联---添加----文件掩码内输入你需要用写字板打开文件的扩展名,如 *.php 之类的,再在“打开以”中选择记事本,然后把“查看”和“编辑”都打上勾,点击“添加”按钮可即 参考技术A 这个和扩展名有关的!本回答被提问者采纳Primefaces文本编辑器的按钮代码
Primefaces有两个文本编辑器,不推荐使用的“editor”和更新的“text editor”。对于之前我可以找到特定按钮的代码,但我找不到新代码的任何代码,令人失望的是旧代码似乎没有翻译。例如:
controls="bold italic underline strikethrough subscript superscript
font size style color highlight bullets numbering alignleft center
alignright justify link unlink outdent indent"
适用于旧编辑器,但只有:粗体,斜体,下划线,删除线,字体,大小,链接,使用HTML标签添加时显示为按钮,如:
<button class="ql-bold"></button>
上述按钮的代码是什么,还有删除格式按钮的代码?网站上提供的文档已过期。
答案
这是清单。删除或设置style="display: none;"
您不想显示的按钮。
<p:textEditor
id="descriptionId"
widgetVar="descriptionWidget"
value="#{bean.model.description}">
<f:facet name="toolbar">
<span class="ql-formats">
<select class="ql-font" />
<select class="ql-size" />
</span>
<span class="ql-formats">
<button class="ql-bold" />
<button class="ql-italic" />
<button class="ql-underline" />
<button class="ql-strike" />
</span>
<span class="ql-formats">
<select class="ql-color" />
<select class="ql-background" />
</span>
<span class="ql-formats">
<button class="ql-script" value="sub" />
<button class="ql-script" value="super" />
</span>
<span class="ql-formats">
<button class="ql-header" value="1" />
<button class="ql-header" value="2" />
<button class="ql-blockquote" />
<button class="ql-code-block" />
</span>
<span class="ql-formats">
<button class="ql-list" value="ordered" />
<button class="ql-list" value="bullet" />
<button class="ql-indent" value="-1" />
<button class="ql-indent" value="+1" />
</span>
<span class="ql-formats">
<button class="ql-direction" value="rtl" />
<select class="ql-align" />
</span>
<span class="ql-formats">
<button class="ql-link" />
<button class="ql-image" />
<button class="ql-video" />
<button class="ql-formula" />
</span>
<span class="ql-formats">
<button class="ql-clean" />
</span>
</f:facet>
</p:textEditor>
以上是关于FlashFXP的代码编辑和文本编辑的主要内容,如果未能解决你的问题,请参考以下文章