[CKEditor] setup guide for CKEditor

Forge Component
(28)
Published on 26 May (10 days ago) by Prasad Rao
28 votes
Published on 26 May (10 days ago) by Prasad Rao

Hi All

total noob question here.

Is there a walkthrough or setup guide for the CKEditor?

I have added it to my app (via reference) and linked it to my text input field, but when testing it I can't get styled text to save and show up on the frontend.

instead, I get hit with "String or binary data would be truncated. the statement terminated" error on save.


I am sure I must've skipped a step in the install. 


Any way I can get an OutSystems install guide?



Does your text field size matches your entity field size? I have a feeling your entity field size is smaller than your text field size

Thanks that got me further.

now the saved content isn't styled instead, its shows the source HTML string 

Solution

Craig Schrickker wrote:

Thanks that got me further.

now the saved content isn't styled instead, its shows the source HTML string 

I believe it is normal that the html tags are saved in the DB.

When displaying the saved data, if the data is displayed within the same Field that the CKEditor is using, it will remove the tags.

If you display the data in an expression, you will need to use SanitizeHTML() function. This is added as part of the Sanitization Extension


Solution

Thank you very much, it seems to be working



Craig Schrickker wrote:

Thank you very much, it seems to be working



Happy to help