php - How to use tinyMCE with symfony 1.4? -


I need to use an HTML editor for my Symphony project, so I used the tinyMCE editor with sfFormExtraPlugin is.

  • Web / JS

  • Use the tiny_MCE directory inside it and inside the widget 'text' = & gt; New sfWidgetFormTextareaTinyMCE (array ()),

    But when I save prices, savings inside DB with both diplays and html tags ... how can I stop it Am I

    Or is there any other way of using HTML Editor with Symphony? In fact, this is the purpose of TinyMCE: Provide a user friendly interface for rich text created. Then it saves the html in your database and you will not have to parse it again, when you have to show the content.

    But if you want to use a different approach, then you can use many projects such as Gitanbu or even here). There are separate plugins to get the Markdown integration:



  • Comments