admin
  • admin
  • 100% (Exalted)
  • Administration Topic Starter
2 years ago
["Source"],["Cut", "Copy", "Paste"], ["Undo", "Redo", "-", "Find", "Replace", "-", "SelectAll", "RemoveFormat"],["About"],"/",["Bold", "Italic", "Underline", "-", "TextColor", "FontSize","highlight"],["-", "JustifyLeft", "JustifyCenter", "JustifyRight"],["-", "Outdent", "Indent"],["EmojiPanel"],["-", "Link", "Unlink", "-", "attachments", "-", "Image", "albumsbrowser"], ["-", "NumberedList", "BulletedList"],["quote", "Syntaxhighlight","bbcodeselector"],["youtube","vimeo", "instagram", "twitter", "facebook"]

Tag: yaf, yaf.net, yafnet
admin
  • admin
  • 100% (Exalted)
  • Administration Topic Starter
2 years ago
Add
"-","Save","NewPage","Preview","Print","-","Templates"
admin
  • admin
  • 100% (Exalted)
  • Administration Topic Starter
admin
  • admin
  • 100% (Exalted)
  • Administration Topic Starter
2 years ago
Update
"Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"
admin
  • admin
  • 100% (Exalted)
  • Administration Topic Starter
2 years ago
Try this code

CKEDITOR.on("instanceReady", function(event) {
    event.editor.on("beforeCommandExec", function(event) {
        // Show the paste dialog for the paste buttons and right-click paste
        if (event.data.name == "paste") {
            event.editor._.forcePasteDialog = true;
        }
        // Don't show the paste dialog for Ctrl+Shift+V
        if (event.data.name == "pastetext" && event.data.commandData.from == "keystrokeHandler") {
            event.cancel();
        }
    })
});
Users browsing this topic