in Education by
I'm using CKEditor in a form. When I submit that form the content of I wrote in the text area of the CKEditor is saved in database in such format [b]helllo[/b][size=100]fefdf[/size]:*). In another page when I retrieve the data it shows in HTML as same [b]helllo[/b][size=100]fefdf[/size]:*) instead of the output in BBCode format. Can anyone help me with how to get it in BBcode format? What I want: What I am getting: JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I deduce that BBCode option is activated when you call the editor (see this example code), so that shouldn't be the issue. One thing you could try is setting the basicEntities config to false. Taken from the CKeditor API: {Boolean} CKEDITOR.config.basicEntities Since: 3.0 Whether to escape basic HTML entities in the document, including: nbsp gt lt amp Note: It should not be subject to change unless when outputting a non-HTML data format like BBCode. Defined in: plugins/entities/plugin.js. config.basicEntities = false; Default Value: true

Related questions

0 votes
    I'm using CKEditor in a form. When I submit that form the content of I wrote in the text area ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Which of the following tool is used to generate API documentation in HTML format from doc comments in ... stackoverflow.com 🔗Source: Java Interview Questions and Answers...
asked Dec 19, 2020 in Technology by Editorial Staff
0 votes
    Is there an easy way to run a MySQL query from the Linux command line and output the results in CSV format? Here's what I'm doing now: mysql -u uid -ppwd -D dbname...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    When you call serialize() on an R object, the output will be ____ coded in hexadecimal format. (a) raw ... Operations of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Following Regular Expression does work in HTML like following example: But if I want to put that pattern in ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    Why text inside / list is not affected (color of "item1", "item2" is not changed) by CSS applied ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
0 votes
    Why text inside / list is not affected (color of "item1", "item2" is not changed) by CSS applied ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    Why text inside / list is not affected (color of "item1", "item2" is not changed) by CSS applied ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    Which method creates unique fields in the HTML which are not shown to the user? (a) User authentication (b) URL ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    When receiving user input on forms I want to detect whether fields like "username" or "address" does not contain markup ... form is more dangerous, but it should still be safe:...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    What is not true in context of HTML tag ? O Table cell changes its width automatically based on content O We can ... table border is o Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
0 votes
    Which of the following is not true about HTML ? (a) (b) (c) (d) This question was ... Web Fundamentals topic in division Database Programming Techniques of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    I am running dataflow pipeline to load into biqquery but I am getting the below error wrapper = lambda x ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 6, 2022 in Education by JackTerrance
0 votes
    I just realized that the l (or localize) method in Rails (3.1.3 at the moment) appears to not ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
...