locked
MVC CKEditor - Disable selective components RRS feed

  • Question

  • User-1284851152 posted

    Dear Members,

    I have implemented CKEditor in my MVC application successfully. And it has lot of features, but i need to use only certain features of CKEditor ( for instance, i need only Bold, Italic) , is it possible to turn off/disable the certain features of CKEditor?.

    Wednesday, September 30, 2015 3:29 AM

Answers

  • User-1284851152 posted

    After sweating out, finally got the solution from the following code,

    <script type="text/javascript">
        window.onload = function () {
            CKEDITOR.replace('editor1',{
                removePlugins: 'wsc,pastefromword,pastetext,link,horizontalrule,image,maximize,undo,table,blockquote,sourcearea,about,stylescombo,tabletools'
            });
            wsc
        };
    </script>

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 30, 2015 9:58 AM