[Hỏi đáp] Lỗi khi copy bài viết

  Bài viết hay nhất1
First topic message reminder :

Hỏi: ko biết fm cập nhập mới cái j mà giờ copy bài viết ở nơi khác về thì chữ nhỏ xíu luôn ko thấy j cả demo : [You must be registered and logged in to see this link.]
có cách nào sửa lỗi này ko giúp đỡ nhé

Đáp: [You must be registered and logged in to see this link.]
  Bài viết hay nhất26
[You must be registered and logged in to see this link.]
7vọng wrote:Gọi là code chống cháy nên viết tạm bợ, không ngờ nhiều người cần dùng thế. (_ __!)

Code:
$(window).load(function () {
   var a = $("#text_editor_textarea").sceditor("instance");
   a.keyDown(function (b) {
      b = b || window.event;
      var c = b.keyCode;
      (b.ctrlKey || b.metaKey) && 86 == c && setTimeout(function () {
         a.toggleSourceMode();
         a.val(a.val().replace(/\[\/?size(=(1|2|3|4|5))?\]/g, ''));
         a.toggleSourceMode()
      }, 100)
   });
});

Thanks ! rất là OK
You cannot reply to topics in this forum