Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Recommended wysiwyg editor for Fuel PHP
  • Hello,

    I would like to use wysiwyg editor with my fuel PHP application.
    Do you have any recommendations for me about module?

    And, after add wysiwyg editor,
     I feel such a need to change validate rule for HTML tags.

    Am I correct in assuming it?
     
    Thank you very much. :)

  • HarroHarro
    Accepted Answer
    wysiwig editors are frontend, and don't have any relation to the framework. That just sees a posted textarea come in. So any one will do, depending on your requirements.

    If you want to validate HTML, you can clean it using \Security::xss_clean($var);

    It uses the Hmtlawed package (which is included in fuel/core/vendor) to scan and clean the HTML. If you want to have custom cleaning rules for Htmlawed, you can pass them in the second parameter.
  • Thank you very much!!!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion