Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
901 views
in Q2A Core by
When one makes a post with a certain editor, what code is responsible for displaying the content in html based on the used editor later on?

I know there is a 'format' field in the database, but how is this assigned and used?
Q2A version: 1.6.1

1 Answer

0 votes
by
Editor's javascript ( here CK Editor ) generates the html tags behiend the scene as per your text formated using editor's tool for the content. Than it will store into the datbase with HTML tags around your content as your formated.

When you call back that data HTML will render accordingly.

If you want to see than check in wordpress editor. Format some text and click on editor's source tab you will find HTML tags wrapping your formatted content.
...