/html-to-rtf

Convert basic HTML output of TinyMCE to rtf with PHP

Primary LanguagePHPMIT LicenseMIT

HTML-to-RTF-converter for PHP

Convert basic HTML output of TinyMCE to RTF with PHP

Supported HTML:

  • Text styles
    • bold
    • italic
    • undeline
    • strikethrough
  • Align
    • Left
    • Center
    • Right
    • Justify
  • Lists
    • Ordered
    • Unordered
  • Unicode characters

This is a fork from hermanouchoa/php-html-to-rtf-converter. This fork provides a Config class that introduces a way to override the default font and font-size of RTF.

Installation

composer require visuellverstehen/html-to-rtf:dev-master

Examples

Example can be found in examples/index.php