Skip to content

Cyberitas/yii2-tinymce-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-tinymce-processor

Build Status

Yii 2 extension providing WordPress-style text processing from a TinyMCE editor.

Features

Usage

composer require "cyberitas/yii2-tinymce-processor"
$tmp = new TinymceProcessor();
$tmp->configure([
    'autop' => true,
    'essence' => true,
    'purify' => [
        'purifierConfig' => [
            'Attr.EnableId' => true
        ]
    ],
    'texturize' => [
        'leftDoubleQuote' => '«',
        'rightDoubleQuote' => '»'
    ]
]);
$output = $tmp->process("This is some content from a TinyMCE editor.");

Copyright

Copyright © 2016 Cyberitas Technologies, LLC. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

About

Yii 2 extension providing WordPress-style text processing from a TinyMCE editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages