test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 in ueditor_rails-0.0.1 vs test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 in ueditor_rails-0.0.2

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1364726219.6125: @value" {I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1364810574.338795: @value"%{I" class:EFI"BundledAsset;FI"logical_path;FI"application.js;TI" pathname;FI"0$root/app/assets/javascripts/application.js;TI"content_type;FI"application/javascript;FI" -mtime;FI"2013-03-31T18:36:43+08:00;FI" length;Fi\I" digest;F"%4530a0a65ceab441733d2c4a5f2319acI" source;FI"\/*! +mtime;FI"2013-04-01T18:02:52+08:00;FI" length;FitI" digest;F"%7707a1734a637f6044233d9483dded5dI" source;FI"t/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ @@ -10069,11 +10069,11 @@ //,charset:"utf-8" //常用配置项目 //,isShow : true //默认显示编辑器 - ,initialContent:'测试自定义配置好用不,Text here~' //初始化编辑器的内容,也可以通过textarea/script给值,看官网例子 + ,initialContent:'在这里输入内容~' //初始化编辑器的内容,也可以通过textarea/script给值,看官网例子 //,initialFrameWidth:1000 //初始化编辑器宽度,默认1000 //,initialFrameHeight:320 //初始化编辑器高度,默认320 //,autoClearinitialContent:true //是否自动清除编辑器初始内容,注意:如果focus属性设置为true,这个也为真,那么编辑器一上来就会触发导致初始化的内容看不到了 @@ -10197,22 +10197,10 @@ // indent : false, // 行首缩进 // indentValue : '2em' //行首缩进的大小 // } }; -/** - * ueditor完整配置项 - * 可以在这里配置整个编辑器的特性 - */ -/**************************提示******************************** - * 所有被注释的配置项均为UEditor默认值。 - * 修改默认配置请首先确保已经完全明确该参数的真实用途。 - * 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。 - * 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。 - **************************提示********************************/ - - window.UEDITOR_HOME_URL = "/assets/ueditor/"; window.UEDITOR_CONFIG = { //为编辑器实例添加一个路径,这个不能被注释 @@ -10276,12 +10264,12 @@ //,langPath:URL +"lang/" //主题配置项,默认是default。有需要的话也可以使用如下这样的方式来自动多主题切换,当然,前提条件是themes文件夹下存在对应的主题文件: //现有如下皮肤:default,modern,gorgeous - //,theme:'default' - //,themePath:URL +"themes/" + ,theme:'default' + ,themePath: "/assets/ueditor/themes/" //若实例化编辑器的页面手动修改的domain,此处需要设置为true //,customDomain:false //针对getAllHtml方法,会在对应的head标签中增加该编码设置。 @@ -20194,11 +20182,11 @@ UE.ui.Editor = function (options) { var editor = new baidu.editor.Editor(options); editor.options.editor = editor; utils.loadFile(document, { - href:editor.options.themePath + editor.options.theme + "/css/ueditor.css", + href:editor.options.themePath + editor.options.theme + "/ueditor.css", tag:"link", type:"text/css", rel:"stylesheet" }); @@ -22254,13 +22242,13 @@ type : 'fragment', children:[] } } node.attributes.word_img = node.attributes.src; - node.attributes.src = me.options.UEDITOR_HOME_URL + 'themes/default/images/spacer.gif'; + node.attributes.src = me.options.UEDITOR_HOME_URL + 'themes/default/spacer.gif'; var flag = parseInt(node.attributes.width)<128||parseInt(node.attributes.height)<43; - node.attributes.style="background:url(" + (flag? me.options.themePath+me.options.theme +"/images/word.gif":me.options.langPath+me.options.lang + "/images/localimage.png")+") no-repeat center center;border:1px solid #ddd"; + node.attributes.style="background:url(" + (flag? me.options.themePath+me.options.theme +"/word.gif":me.options.langPath+me.options.lang + "/localimage.png")+") no-repeat center center;border:1px solid #ddd"; //node.attributes.style = 'width:395px;height:173px;'; word_img_flag && (word_img_flag.flag = 1); } if(browser.ie && browser.version < 7 ) node.attributes.orgSrc = node.attributes.src; @@ -24241,11 +24229,11 @@ */ function creatInsertStr(url,width,height,align,toEmbed,addParagraph){ return !toEmbed ? (addParagraph? ('<p '+ (align && align !="none" ? ( align == "center"? ' style="text-align:center;" ':' style="float:"'+ align ) : '') + '>'): '') + '<img align="'+align+'" width="'+ width +'" height="' + height + '" _url="'+url+'" class="edui-faked-video"' + - ' src="' + me.options.UEDITOR_HOME_URL+'themes/default/images/spacer.gif" style="background:url('+me.options.UEDITOR_HOME_URL+'themes/default/images/videologo.gif) no-repeat center center; border:1px solid gray;" />' + + ' src="' + me.options.UEDITOR_HOME_URL+'themes/default/spacer.gif" style="background:url('+me.options.UEDITOR_HOME_URL+'themes/default/videologo.gif) no-repeat center center; border:1px solid gray;" />' + (addParagraph?'</p>':'') : '<embed type="application/x-shockwave-flash" class="edui-faked-video" pluginspage="http://www.macromedia.com/go/getflashplayer"' + ' src="' + url + '" width="' + width + '" height="' + height + '" align="' + align + '"' + ( align && align !="none" ? ' style= "'+ ( align == "center"? "display:block;":" float: "+ align ) + '"' :'' ) + @@ -24636,11 +24624,11 @@ 'maxColNum':20, 'maxRowNum':100, 'defaultCols':5, 'defaultRows':5, 'tdvalign':'top', - 'cursorpath':me.options.UEDITOR_HOME_URL + "themes/default/images/cursor_", + 'cursorpath':me.options.UEDITOR_HOME_URL + "themes/default/cursor_", 'tableDragable':false }); me.getUETable = getUETable; var commands = { 'deletetable':1, @@ -28153,6 +28141,6 @@ ; -;TI"required_assets_digest;F"%8c1b9aee7322196acc8c0819dd9f3910I" _version;F"%6776f581a4329e299531e1d52aa59832 +;TI"required_assets_digest;F"%ebc3bdbf0835637e1415d9f750bb291eI" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file