Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philippfrenzel/yiiwymeditor
Yii2 What You Mean Editor
https://github.com/philippfrenzel/yiiwymeditor
Last synced: about 2 months ago
JSON representation
Yii2 What You Mean Editor
- Host: GitHub
- URL: https://github.com/philippfrenzel/yiiwymeditor
- Owner: philippfrenzel
- Created: 2013-06-16T09:03:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-26T16:55:08.000Z (over 10 years ago)
- Last Synced: 2024-10-18T00:29:54.133Z (2 months ago)
- Language: JavaScript
- Size: 2.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yiiwymeditor
============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[] = "}";