jQuery全屏编辑器:jQuery Fullscreen Editor
jopen
11年前
一个轻量级的jQuery插件,美化和转换文本字段为全屏文本编辑器有两种不同的过渡选项。
示例
用法:$(".mytextarea").fseditor({ overlay: true, expandOnFocus: false, transition: '', // 'fade', 'slide-in', placeholder: '', maxWidth: '', // maximum width of the editor on fullscreen mode maxHeight: '', // maximum height of the editor on fullscreen mode, onExpand: function() {}, // on switch to fullscreen mode callback onMinimize: function() {} // on switch to inline mode callback });