philippfrenzel/yiiwymeditor

Yii2 yiiwymeditor Widgets

Installs: 161

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

dev-master 2014-05-26 16:55 UTC

This package is not auto-updated.

Last update: 2024-12-16 16:25:31 UTC


README

Yii2 What You Mean Editor

Make WYMeditor 1.0.4 as widget available for Yii2:

http://wymeditor.readthedocs.org/en/latest/version_1.0_and_0.5/getting_started/customize.html#list-of-options

Will use this editor inside our internal company intranet, as it's very important to have a focus on meaning and not format. We 1st thought about creole, but for none IT - Users, it was to "abstract" to work with that :(

Anyway, hope you can use it for your own project!

$js[] = "on: {"; $js[] = " instanceReady: function() {"; $js[] = " this.dataProcessor.htmlFilter.addRules( {"; $js[] = " elements: {"; $js[] = " img: function( el ) {"; $js[] = " if ( !el.attributes.class )"; $js[] = " el.attributes.class = 'pinterest-image';"; $js[] = " }"; $js[] = " }"; $js[] = " } );";
$js[] = " }"; $js[] = " }"; $js[] = "}";