website:
https://www.froala.com/wysiwyg-editor
比ueditor好用。少bug。table可以调整宽度高度。
ueditor也不错,但是在chrome和ff上的表现差异比较大,例如table的宽度在ff下比较小,在chrome下比较大,还没法调整的。更大的bug是,换行时光标错误导致换行时光标会向前移动一个光标位,导致换行错误,这个bug还不是每次都出现,偶尔会有。ff和chrome都有可能出现。
最后用了froala editor,但是这个是要收费的。价值799$,还挺强大的,破解这个编辑器,主文件js压缩过的,从几千行js代码中审计,找到了验证域名的函数注释掉就ok了!
官网 https://www.froala.com/wysiwyg-editor/pricing
下载一份源码,然后打开
先格式化一下js代码,然后跳转到2731行(可能不是这个行数,不同格式化工具的行数可能都不同,但是function h()没变,注意:可能有多个function h()定义),注释掉以下代码即可破解,无限域名使用。
参考:http://www.cssxn.cn/464.html <script type="text/javascript"> /*iteye博客内页Banner-468*60,创建于2016-5-31*/ var cpro_id = "u1405021"; </script> <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
<script type="text/javascript"> dp.SyntaxHighlighter.HighlightAll('code', true, true); $$('#main .blog_content pre[name=code]').each(function(pre, index){ // blog content var post_id = 2333358; var location = window.location; source_url = location.protocol + "//" + location.host + location.pathname + location.search; pre.writeAttribute('codeable_id', post_id); pre.writeAttribute('codeable_type', "Blog"); pre.writeAttribute('source_url', source_url); pre.writeAttribute('pre_index', index); pre.writeAttribute('title', '富文本编辑器推荐'); }); fix_image_size($$('div.blog_content img'), 700); function processComment() { $$('#main .blog_comment > div').each(function(comment){// comment var post_id = comment.id.substr(2); $$("#"+comment.id+" pre[name=code]").each(function(pre, index){ var location = window.location; source_url = location.protocol + "//" + location.host + location.pathname + location.search; source_url += "#" + comment.id; pre.writeAttribute('codeable_id', post_id); pre.writeAttribute('codeable_type', "BlogComment"); pre.writeAttribute('source_url', source_url); pre.writeAttribute('pre_index', index); pre.writeAttribute('title', '富文本编辑器推荐'); }); }); } function quote_comment(id) { new Ajax.Request('/editor/quote', { parameters: {'id':id, 'type':'BlogComment'}, onSuccess:function(response){editor.bbcode_editor.textarea.insertAfterSelection(response.responseText); Element.scrollTo(editor.bbcode_editor.textarea.element);} }); } code_favorites_init(); processComment(); new WeiboShare({share_buttons: $('share_weibo'), img_scope: $('blog_content')}); </script>
https://www.froala.com/wysiwyg-editor
比ueditor好用。少bug。table可以调整宽度高度。
ueditor也不错,但是在chrome和ff上的表现差异比较大,例如table的宽度在ff下比较小,在chrome下比较大,还没法调整的。更大的bug是,换行时光标错误导致换行时光标会向前移动一个光标位,导致换行错误,这个bug还不是每次都出现,偶尔会有。ff和chrome都有可能出现。
最后用了froala editor,但是这个是要收费的。价值799$,还挺强大的,破解这个编辑器,主文件js压缩过的,从几千行js代码中审计,找到了验证域名的函数注释掉就ok了!
官网 https://www.froala.com/wysiwyg-editor/pricing
下载一份源码,然后打开
先格式化一下js代码,然后跳转到2731行(可能不是这个行数,不同格式化工具的行数可能都不同,但是function h()没变,注意:可能有多个function h()定义),注释掉以下代码即可破解,无限域名使用。
function h() {
//return a.$box ? (a.$box.append(n(b(n("kTDD4spmKD1klaMB1C7A5RA1G3RA10YA5qhrjuvnmE1D3FD2bcG-7noHE6B2JB4C3xXA8WF6F-10RG2C3G3B-21zZE3C3H3xCA16NC4DC1f1hOF1MB3B-21whzQH5UA2WB10kc1C2F4D3XC2YD4D1C4F3GF2eJ2lfcD-13HF1IE1TC11TC7WE4TA4d1A2YA6XA4d1A3yCG2qmB-13GF4A1B1KH1HD2fzfbeQC3TD9VE4wd1H2A20A2B-22ujB3nBG2A13jBC10D3C2HD5D1H1KB11uD-16uWF2D4A3F-7C9D-17c1E4D4B3d1D2CA6B2B-13qlwzJF2NC2C-13E-11ND1A3xqUA8UE6bsrrF-7C-22ia1D2CF2H1E2akCD2OE1HH1dlKA6PA5jcyfzB-22cXB4f1C3qvdiC4gjGG2H2gklC3D-16wJC1UG4dgaWE2D5G4g1I2H3B7vkqrxH1H2EC9C3E4gdgzKF1OA1A5PF5C4WWC3VA6XA4e1E3YA2YA5HE4oGH4F2H2IB10D3D2NC5G1B1qWA9PD6PG5fQA13A10XA4C4A3e1H2BA17kC-22cmOB1lmoA2fyhcptwWA3RA8A-13xB-11nf1I3f1B7GB3aD3pavFC10D5gLF2OG1LSB2D9E7fQC1F4F3wpSB5XD3NkklhhaE-11naKA9BnIA6D1F5bQA3A10c1QC6Kjkvitc2B6BE3AF3E2DA6A4JD2IC1jgA-64MB11D6C4==")))), j = a.$box.find("> div:last"), k = j.find("> a"), void("rtl" == a.opts.direction && j.css("left", "auto").css("right", 0))) : !1
}
参考:http://www.cssxn.cn/464.html <script type="text/javascript"> /*iteye博客内页Banner-468*60,创建于2016-5-31*/ var cpro_id = "u1405021"; </script> <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
发表评论
- 浏览: 564601 次
- 性别:
- 来自: 广州
最新评论
- flashbehappy: 同一个视频,有mp4,ogg两种格式的。在chrome,fir ...
firefox chrom safari 对video标签的区别 - xmdxzyf: 可以在网站(www.sosoapi.com)上试下在线表单方式 ...
用swagger-php/ui做API测试 - flex_莫冲: a2631500 写道"看了源码,设置Backbon ...
backbone与php交互 - a2631500: "看了源码,设置Backbone.emulateJS ...
backbone与php交互 - flex_莫冲: hylxinlang 写道有声音没图像怎么解决呢 兄台可能是因 ...
HTML5 VIDEO
参考知识库