2017 © Pedro Peláez
 

yii2-extension yii2-tinymce-processor

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

image

cyberitas/yii2-tinymce-processor

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

  • Saturday, April 30, 2016
  • by jbhannah
  • Repository
  • 1 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

yii2-tinymce-processor

Build Status Coverage Status, (*1)

Yii 2 extension providing WordPress-style text processing from a TinyMCE editor., (*2)

Features

Usage

composer require "cyberitas/yii2-tinymce-processor"

Processor

use Cyberitas\TinymceProcessor\TinymceProcessor;

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

Asset Bundle

use Cyberitas\TinymceProcessor\Assets\TinymceAssets;
use yii\helpers\Html;
use yii\widgets\InputWidget;

class TinymceWidget extends InputWidget
{
    public function run()
    {
        TinymceAssets::register($this->view);
        $this->view->registerJs('tinymce.init({selector: "textarea"});');
        echo Html::textarea($this->name, $this->value);
    }
}

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., (*3)

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., (*4)

The Versions

30/04 2016

dev-master

9999999-dev https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

20/04 2016

0.7.0

0.7.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

20/04 2016

0.6.0

0.6.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

11/04 2016

0.5.0

0.5.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

09/04 2016

0.4.0

0.4.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

09/04 2016

0.3.0

0.3.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

08/04 2016

0.2.0

0.2.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

07/04 2016

0.1.1

0.1.1.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg

07/04 2016

0.1.0

0.1.0.0 https://github.com/Cyberitas/yii2-tinymce-processor

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

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

yii2 tinymce text wysiwyg