How do I stored the data where user typed in the text field to database and be retrieve at a later stage?
The attached OML file is for reference.
If I type in normal letters, it is fine. With fronts such as background color or change of font size it gives an error..
I suppose the text editor saved the "text area" widget as text data type and I have set everything correctly.
Hi @Chin Kai ,Can you check error log?
it content html tag also with the text.
like <div>ckeditor5<strong>Bold</strong></div>
Hi @Rahul Sahu , seems like only normal text can be saved.. if i were to add styling to it. It gives the error...
@Chin Kai
you need to increase attribute length of entity.
You can store with tag also.
Hi @Rahul Sahu , thanks it works when I increase the text length. But is there a better way of doing it? What do you mean by store with tag?
mean what content return by ck editor you can insert in db.
when you want show this content inside table or widget you can use inject HTML component.
You can save in binary format if you don't want increase length. but you need addition functionality to show it on screen TextToBinary and BinaryToText function.
do you have an example where I can reference from? unable to find the function text to binary..
See this screenshot. you need to take dependency from Binary Data extension .