easyeditor迷你编辑器

代码语言:html

所属分类:表单美化

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>BFW NEW PAGE</title>
    <script id="bfwone" data="dep=jquery.17&err=0" type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/bfwone.js"></script>
    <script type="text/javascript">

        bready(function() {
            use(["jquery.easyeditor", "easyeditor"], function() {
                EasyEditor.prototype.imageurl = function() {
                    var _this = this;
                    var settings = {
                        buttonIdentifier: 'insert-image-url',
                        buttonHtml: '插入图片',
                        clickHandler: function() {
                            var link = prompt('请输入图片路径', '');

                            if (link.length > 0) {
                                var figure = document.createElement('figure');
                                $(figure).html('<img src="'+ link +&.........完整代码请登录后点击上方下载按钮下载查看

网友评论0