۱۳۹۳/۳/۱، ۱۰:۴۶:۵۷ صبح
من زیاد با این ادیتور کار نکردم . لینکهای زیر را مطالعه کنید
و افزودن تصویر دکمه در css
http://www.sceditor.com/documentation/custom-commands/
http://www.sceditor.com/documentation/custom-bbcodes/
http://community.mybb.com/thread-140420.html
http://www.sceditor.com/posts/how-to-add...-commands/
کد:
$.sceditor.command.set("payment", {
exec: function() {
this.insert("payment");
},
txtExec: function() {
this.insert("payment");
},
tooltip: "افزودن محصول"
});
و افزودن تصویر دکمه در css
کد:
.sceditor-button-[name] div { background: url('/images/payment.png'); }
http://www.sceditor.com/documentation/custom-commands/
http://www.sceditor.com/documentation/custom-bbcodes/
http://community.mybb.com/thread-140420.html
http://www.sceditor.com/posts/how-to-add...-commands/