[FLOW3-general] Saving html to the database

David Sporer david.sporer at gmail.com
Mon Mar 25 16:23:48 CET 2013


Hi Stephen,

have you tried outputting the content using the raw-view helper?

Regards
David


2013/3/25 Stephen Bungert <stephenbungert at yahoo.de>

> 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.
>
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>



-- 
If you're interested in my work you can follow me or my current project
@sporerd <https://twitter.com/sporerd> and
@PasscreatorDe<https://twitter.com/PasscreatorDe>


More information about the FLOW3-general mailing list