backcolor |
A color code. |
This command will set the background color of the document. |
bold |
|
If there is no selection, the insertion point will set bold for subsequently typed characters.
If there is a selection and all of the characters are already bold, the bold will be removed. Otherwise, all selected characters will become bold.
|
contentReadOnly |
|
This command will make the editor readonly(true)or editable(false). Anticipated usage is for temporarily disabling input while something else is occurring elsewhere in the web page. |
copy |
|
If there is a selection, this command will copy the selection to the clipboard. If there isn't a selection, nothing will happen.
note: this command won't work without setting a pref or using signed JS. See: more about security preferences
note: the shortcut key will automatically trigger this command (typically accel-C) with or without the signed JS or any code on the page to handle it.
|
createlink |
A URI. |
This command will not do anything if no selection is made. If there is a selection, a link will be inserted around the selection with the url parameter as the href of the link. |
cut |
|
If there is a selection, this command will copy the selection to the clipboard and remove the selection from the edit control. If there isn't a selection, nothing will happen.
note: this command won't work without setting a pref or using signed JS. See: more about security preferences
note: the shortcut key will automatically trigger this command (typically accel-X) with or without the signed JS or any code on the page to handle it.
|
decreasefontsize |
|
This command will add a <small> tag around selection or at insertion point. |
delete |
|
This command will delete all text and objects that are selected. If no text is selected it deletes one character to the right. This is similar to the Delete button on the keyboard. |
fontname |
A font name |
This command will set the font face for a selection or at the insertion point if there is no selection.
The given string is such as would be used in the "face" attribute of the font tag, i.e., a comma-separated list of font names.
|
fontsize |
A number |
This command will set the fontsize for a selection or at the insertion point if there is no selection.
The given number is such as would be used in the "size" attribute of the font tag.
|
forecolor |
A color code |
This command will set the text color of the selection or at the insertion point. |
formatblock |
H1, H2, H3, H4, H5, H6, P, DIV, ADDRESS, BLOCKQUOTE (more?) |
The selection surrounded by the given block element. |
heading |
H1, H2, H3, H4, H5, H6 |
Selected block will be formatted as the given type of heading. |
hilitecolor |
A color code |
This command will set the hilite color of the selection or at the insertion point. It only works with styleWithCSS enabled. |
increasefontsize |
|
This command will add a <big> tag around selection or at insertion point. |
indent |
|
Indent the block where the caret is located. If the caret is inside a list, that item becomes a sub-item one level deeper. |
insertbronreturn |
true/false |
Selects whether pressing return inside a paragraph creates another paragraph or just inserts a <br> tag. |
inserthorizontalrule |
null/string (when string is the Line's id) |
This command will insert a horizontal rule (line) at the insertion point.
Does it delete the selection? Yes!
|
inserthtml |
A string. |
This command will insert the given html into the <body> in place of the current selection or at the caret location.
The given string is the HTML to insert.
|
insertimage |
A URI. |
This command will insert an image (referenced by the given url) at the insertion point. |
insertorderedlist |
|
Depends on the selection. If the caret is not inside a non-LI block, that block becomes the first LI and an OL. If the caret is inside a bulleted item, the bulleted item becomes a numbered item. |
insertunorderedlist |
|
Depends on the selection. If the caret is not inside a non-LI block, that block becomes the first LI and UL. If the caret is inside a numbered item, the numbered item becomes a bulleted item. |
insertparagraph |
|
Inserts a new paragraph. |
italic |
|
If there is no selection, the insertion point will set italic for subsequently typed characters.
If there is a selection and all of the characters are already italic, the italic will be removed. Otherwise, all selected characters will become italic.
|
justifycenter |
|
Center-aligns the current block. |
justifyfull |
|
Fully-justifies the current block. |
justifyleft |
|
Left-aligns the current block. |
justifyright |
|
Right aligns the current block. |
outdent |
|
Outdent the block where the caret is located. If the block is not indented prior to calling outdent, nothing will happen.
If the caret is in a list item, the item will bump up a level in the list or break out of the list entirely.
|
paste |
|
This command will paste the contents of the clipboard at the location of the caret. If there is a selection, it will be deleted prior to the insertion of the clipboard's contents.
note: this command won't work without setting a pref or using signed JS. user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); See: more about security preferences
note: the shortcut key will automatically trigger this command (typically accel-V) with or without the signed JS or any code on the page to handle it.
|
redo |
|
This command will redo the previous undo action. If undo was not the most recent action, this command will have no effect.
note: the shortcut key will automatically trigger this command (typically accel-shift-Z)
|
removeformat |
|
Removes inline formatting from the current selection. |
selectall |
|
This command will select all of the contents within the editable area.
note: the shortcut key will automatically trigger this command (typically accel-A)
|
strikethrough |
|
If there is no selection, the insertion point will set strikethrough for subsequently typed characters.
If there is a selection and all of the characters are already striked, the strikethrough will be removed. Otherwise, all selected characters will have a line drawn through them.
|
styleWithCSS |
|
This command is used for toggling the format of generated content. By default (at least today), this is true. An example of the differences is that the "bold" command will generate <b> if the styleWithCSS command is false and generate css style attribute if the styleWithCSS command is true. |
subscript |
|
If there is no selection, the insertion point will set subscript for subsequently typed characters.
If there is a selection and all of the characters are already subscripted, the subscript will be removed. Otherwise, all selected characters will be drawn slightly lower than normal text.
|
superscript |
|
If there is no selection, the insertion point will set superscript for subsequently typed characters.
If there is a selection and all of the characters are already superscripted, the superscript will be removed. Otherwise, all selected characters will be drawn slightly higher than normal text.
|
underline |
|
If there is no selection, the insertion point will set underline for subsequently typed characters.
If there is a selection and all of the characters are already underlined, the underline will be removed. Otherwise, all selected characters will become underlined.
|
undo |
|
This command will undo the previous action. If no action has occurred in the document, then this command will have no effect.
note: the shortcut key will automatically trigger this command (typically accel-Z)
|
unlink |
|
If the insertion point is within a link or if the current selection contains a link, the link will be removed and the text will remain. |
|
readonly |
|
This command has been replaced with contentReadOnly. It takes the same values as contentReadOnly, but the meaning of true and false are inversed. |
useCSS |
|
This command has been replaced with styleWithCSS. It takes the same values as styleWithCSS, but the meaning of true and false are inversed. |
相关推荐
兼容IE和Firefox的Html在线编辑器!
eWebEditor V7.0 版发布,新增支持FireFox(火狐)、Chrome(谷歌)浏览器。新增超级多文件分块上传、G级大文件上传解决方案。内核全部重写。完美对话框界面。增强的多插件媒体插入支持、选项卡、代码格式化、保护模式、...
使用“一键排版”工具就可实现文章快速处理,赶快试试吧。支持IE、firefox等主流浏览器哦.可惜不能上传图片让大家看效果了,下载下来看吧。
兼容IE,Firefox浏览器 新修改 提供初级API WeisAPI(详见Demo使用,Editor.InnerHTML及Editor.Focus() ) 新增功能有: 1:过滤危险的标签字符WeisConfig.isReplaceDangerousCode。 2:设置编辑器回车事件的模式...
NULL 博文链接:https://sailinglee.iteye.com/blog/439730
支持火狐和IE全兼容,图片上传,表格修改,剪切,复制,黏贴,代码简洁,易懂
Firefox 11.0 更新的部分内容: • 允许从 Google Chrome 浏览器汇入书签、历史记录和 Cookies。 • 可以在计算机间同步附加组件(现有 Sync 用户需要手动允许)。 • 支持 CSS 文文件尺寸调整属性。 • 重新设计了...
现在的编辑器一般主要分为2种,1种是非所见所得的UBB编辑器,1种是所见即所得的HTML编辑器,非所见所得的UBB编辑器虽然在编辑时不方便直接看到效果...3. 兼容性,jtbcEditor 兼容 ie6,7,8 Firefox Safari Opera Chrome
随缘asp企业网站管理系统(兼容IE及firefox) 后台可以用以下地址: http://您的网址/manage/login.asp 默认登录用户:admin 默认登录密码:admin 一、全站采用主流DIV+CSS框架布局,DIV+CSS的优势何在? 1、符合W3C...
阿赛HTML在线编辑器是一款简洁,兼容性极强的HTML在线编辑器(经测试已完美兼容IE全系、火狐、谷歌),可以方便地整合到各种网站系统中(经测试已完美支持ASP、PHP、.NET、JSP),摒弃常规的框架编辑器模式,采用...
在线编辑器的实现原理(兼容IE和FireFox)
最近为eWebEditor编辑器兼容烦,网上搜索到"eWebEditor7.0破解版",测试了一下,发现还是有缺陷,抽时间做了修正,顺便把ASP、JSP版和PHP版也完善了。 JSP版在Linux+Tomcat环境下测试过没问题! 希望对有同样烦恼...
eWebEditor编辑器JSP版-兼容IE,火狐及360等浏览器,真正可用版
Firefox userChrome.css Safari样式(仅适用于macOS) 这个主题将使Firefox与macOS更加兼容。 带有macOS主题和新选项卡... 使用任何文本编辑器打开位于Firefox的配置文件文件夹中的文件 在此处添加以下行之一,以导
KindEditor是一套开源的HTML可视化编辑器,主要用于让用户在网站上获得所见即所得编辑效果,兼容IE、Firefox、Chrome、Safari、Opera等主流浏览器。 KindEditor使用JavaScript编写,可以无缝的于Java、.NET、PHP、...
Firebug是网页浏览器 Mozilla Firefox 下的一款开发类扩展,现属于Firefox的五星级强力推荐扩展之一。它集HTML查看和编辑、Javascript控制台、网络状况监视器于一体,是开发JavaScript、CSS、HTML和Ajax的得力助手。...
parallel是一款HTML在线编辑器,兼容IE,Chrome,Safari,Firefox,Opera等各大主流浏览器。
xhEditor是一个基于jQuery开发的简单迷你并且高效的在线可视化HTML编辑器,基于网络访问并且兼容IE 6.0+,Firefox 3.0+,Opera 9.6+,Chrome 1.0+,Safari 3.22+。 xhEditor完全基于Javascript开发,您可以应用在任何的...
在IE6,IE7,IE8,chrome谷歌浏览器6.0.472.55,FireFox火狐3.6.8下测试通过 需要说明的是,测试时间不多,所以可能测试不够详细,欢迎大家指出bug,并在我的博客发表回复:http://beinet.cn 注意:刚刚测出一个bug,请...