[FLOW3-general] Saving html to the database

Stephen Bungert stephenbungert at yahoo.de
Mon Mar 25 14:15:20 CET 2013


Hello,

I have a records with a description field. I want to use aloha editor to 
make the description a rich text editor. This works fine, but change aren't 
made to the database of I save it. The error says something about flow 
expecting plain text.

I then used htmlspecialchars/htmlspecialchars_decode in my models 
getter/setter, it is then saved to the database, but onloading the edit 
action page there is still an error outputted about the fact that 
description should be plain text.

Why is this error showing on edit, everything looks how it should and is 
formatted by aloha as it was before.

Also is there some flow way of preparing html text for the database?

Thanks for any help.

Stephen. 




More information about the FLOW3-general mailing list