Click here to Skip to main content
15,888,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,
I am using CKEditor in ASP.Net application.I am working on a module where a popup will shown & will allow user to put a HTML Table content that should render in CkEditor.
But thing is that it is converting HTML table to

tag so table structure didn't render properly.

Ca any one help me on this please?
Now, when

My CkEditor Config file look bellow.


KEDITOR.editorConfig = function (config) {
    // Define changes to default configuration here.
    // For complete reference see:
    // http://docs.ckeditor.com/#!/api/CKEDITOR.config

    config.enterMode = CKEDITOR.ENTER_P;
	
    //config.extraPlugins = 'simpleLink,Button,newplugin,richcombo,placeholder';

    // Toolbar configuration generated automatically by the editor based on config.toolbarGroups.

    //config.toolbar = [
    //['Bold'], ['Italic'], ['newplugin']
    //]
    // The toolbar groups arrangement, optimized for a single toolbar row.
    config.toolbarGroups = [
		{ name: 'document', groups: ['mode', 'document', 'doctools'] },
		{ name: 'clipboard', groups: ['clipboard', 'undo'] },
		{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
		{ name: 'forms' },
		{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
		{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
		{ name: 'links' },
		{ name: 'insert' },
		{ name: 'styles' },
        { name: 'format' },
		{ name: 'colors' },
		{ name: 'tools' },
		{ name: 'others' },
		//{ name: 'about' },
        '/',
         { name: 'Custom', groups: ['simpleLink', 'strinsert'] }
        //{ name: 'Custom', groups: ['simpleLink', 'LandingPage', 'ExternalLink', 'strinsert'] }
        //{ name: 'simpleLink' },
        //{ name: 'LandingPage' },
        //{ name: 'ExternalLink' },
        //{ name: 'placeholder' },        
        //{ name: 'strinsert' }       

    ];

    //{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align'] },
    config.extraPlugins = 'simpleLink,strinsert,justify,colorbutton,font';
    //config.extraPlugins = 'simpleLink,strinsert,LandingPage,ExternalLink,justify,colorbutton,font';
    // The default plugins included in the basic setup define some buttons that
    // are not needed in a basic editor. They are removed here.
    config.removeButtons = 'Cut,Copy,Paste,Undo,Redo,Anchor,Strike,Subscript,Superscript'; //Underline,

    // Dialog windows are also simplified.
    config.removeDialogTabs = 'link:advanced';




};


What I have tried:

config.enterMode =
change to all types but not working.
Posted
Updated 14-Jan-19 8:53am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900