提交 fddecbe6 编写于 作者: Z zhuwenxuan

add notes

上级 42a3dd8e
///import core
///commands 自动提交
///commandsName autosubmit
///commandsTitle 自动提交
UE.plugins['autosubmit'] = function(){
var me = this;
me.commands['autosubmit'] = {
......
///import core
///commands 插入背景
///commandsName background
///commandsTitle 插入背景
///commandsDialog dialogs\background
UE.plugins['background'] = function(){
var me = this;
me.addListener("getAllHtml",function(type,headHtml){
......
///import core
///commands 远程图片抓取
///commandsName catchRemoteImage
///commandsTitle 远程图片抓取
/**
* 远程图片抓取,当开启本插件时所有不符合本地域名的图片都将被抓取成为本地服务器上的图片
*
......
///import core
///commands 大小写转换
///commandsName touppercase
///commandsName tolowercase
///commandsTitle 大小写转换
///commandsName touppercase,tolowercase
///commandsTitle 大写,小写
/**
* 大小写转换
* @function
......
......@@ -3,7 +3,7 @@
///commands 插入代码
///commandsName HighlightCode
///commandsTitle 插入代码
///commandsDialog dialogs\code\code.html
///commandsDialog dialogs\highlightcode
UE.plugins['highlightcode'] = function() {
var me = this;
if(!/highlightcode/i.test(me.options.toolbars.join(''))){
......
......@@ -3,7 +3,7 @@
///commands 插入框架
///commandsName InsertFrame
///commandsTitle 插入Iframe
///commandsDialog dialogs\insertframe\insertframe.html
///commandsDialog dialogs\insertframe
UE.plugins['insertframe'] = function() {
var me =this;
......
///import core
///import plugins\inserthtml.js
///import plugins\catchremoteimage.js
///commands 插入图片,操作图片的对齐方式
///commandsName InsertImage,ImageNone,ImageLeft,ImageRight,ImageCenter
///commandsTitle 图片,默认,居左,居右,居中
///commandsDialog dialogs\image\image.html
///commandsDialog dialogs\image
/**
* Created by .
* User: zhanyi
......
......@@ -2,7 +2,7 @@
///commands 超链接,取消链接
///commandsName Link,Unlink
///commandsTitle 超链接,取消链接
///commandsDialog dialogs\link\link.html
///commandsDialog dialogs\link
/**
* 超链接
* @function
......
......@@ -3,7 +3,7 @@
///commands 音乐
///commandsName InsertMusic
///commandsTitle 插入音乐
///commandsDialog dialogs\music\music.html
///commandsDialog dialogs\music
UE.plugins['music'] = function () {
var me = this,
div;
......
/**
* Created with JetBrains PhpStorm.
* User: xuheng
* Date: 12-7-2
* Time: 下午5:22
* To change this template use File | Settings | File Templates.
*/
///import core
///commands 涂鸦
///commandsName Scrawl
///commandsTitle 涂鸦
///commandsDialog dialogs\scrawl
UE.commands['scrawl'] = {
queryCommandState : function(){
return ( browser.ie && browser.version <= 8 ) ? -1 :0;
......
......@@ -2,7 +2,7 @@
///commands 查找替换
///commandsName SearchReplace
///commandsTitle 查询替换
///commandsDialog dialogs\searchreplace\searchreplace.html
///commandsDialog dialogs\searchreplace
/**
* @description 查找替换
* @author zhanyi
......
/**
* Created with JetBrains PhpStorm.
* User: taoqili
* Date: 12-10-12
* Time: 上午10:05
* To change this template use File | Settings | File Templates.
*/
///import core
///import plugins\inserthtml.js
///commands 表格
///commandsName InsertTable,DeleteTable,InsertParagraphBeforeTable,InsertRow,DeleteRow,InsertCol,DeleteCol,MergeCells,MergeRight,MergeDown,SplittoCells,SplittoRows,SplittoCols
///commandsTitle 表格,删除表格,表格前插行,前插入行,删除行,前插入列,删除列,合并多个单元格,右合并单元格,下合并单元格,完全拆分单元格,拆分成行,拆分成列
///commandsDialog dialogs\table
UE.plugins['table'] = function () {
var me = this,
debug = true;
......
///import core
///import plugins\inserthtml.js
///commands 模板
///commandsName template
///commandsTitle 模板
///commandsDialog dialogs\template\template.html
///commandsDialog dialogs\template
UE.plugins['template'] = function () {
UE.commands['template'] = {
execCommand:function (cmd, obj) {
......
......@@ -3,7 +3,7 @@
///commands 视频
///commandsName InsertVideo
///commandsTitle 插入视频
///commandsDialog dialogs\video\video.html
///commandsDialog dialogs\video
UE.plugins['video'] = function (){
var me =this,
div;
......
/**
* Created by JetBrains PhpStorm.
* User: taoqili
* Date: 12-5-7
* Time: 下午2:37
* To change this template use File | Settings | File Templates.
*/
///import core
///import plugins/inserthtml.js
///commands 百度应用
///commandsName webapp
///commandsTitle 百度应用
///commandsDialog dialogs\webapp
UE.plugins['webapp'] = function () {
var me = this;
function createInsertStr( obj, toIframe, addParagraph ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册