We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 813 ☆ A M B ☆
    • 326 Posts
    I'm creating a front-end editor using MODx's API and xPDO, and have run into a problem with TinyMCE and Formit. I can get Tiny to load fine using Bruno17's script...

    https://forums.modx.com/thread/?thread=46268&page=1

    ...and I can retrieve and prefill values from my tables; however, when I try to actually save back to the DB, it's stripping out any of the HTML tags TinyMCE should be setting. I know TinyMCE is supposed to save formatted content to a hidden field and I need to be grabbing that POST value, which is not the field I'm retrieving from right now. I'm pretty sure that's the root of my problem, but I'm having trouble understanding what field Tiny is setting it in, and if I need to set something manually.

    I know I'm being vague here, but I'd be glad to show any code that might help solve this. Thanks!