Version Description
- Enhanced HTML source code formatting
Download this release
Release Info
Developer | marcochiesi |
Plugin | Black Studio TinyMCE Widget |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.4.1
- black-studio-tinymce-widget.php +4 -2
- readme.txt +4 -1
black-studio-tinymce-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Black Studio TinyMCE Widget
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
|
5 |
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
|
6 |
-
Version: 1.4
|
7 |
Author: Black Studio
|
8 |
Author URI: http://www.blackstudio.it
|
9 |
License: GPL2
|
@@ -186,7 +186,7 @@ function black_studio_tinymce_init_editor( $initArray ) {
|
|
186 |
$initArray['convert_newlines_to_brs'] = false;
|
187 |
// Force P newlines
|
188 |
$initArray['force_p_newlines'] = true;
|
189 |
-
// Force
|
190 |
$initArray['force_br_newlines'] = false;
|
191 |
// Do not remove redundant BR tags
|
192 |
$initArray['remove_redundant_brs'] = false;
|
@@ -194,6 +194,8 @@ function black_studio_tinymce_init_editor( $initArray ) {
|
|
194 |
$initArray['forced_root_block'] = 'p';
|
195 |
// Apply source formatting
|
196 |
$initArray['apply_source_formatting '] = true;
|
|
|
|
|
197 |
// Return modified settings
|
198 |
return $initArray;
|
199 |
}
|
3 |
Plugin Name: Black Studio TinyMCE Widget
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
|
5 |
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
|
6 |
+
Version: 1.4.1
|
7 |
Author: Black Studio
|
8 |
Author URI: http://www.blackstudio.it
|
9 |
License: GPL2
|
186 |
$initArray['convert_newlines_to_brs'] = false;
|
187 |
// Force P newlines
|
188 |
$initArray['force_p_newlines'] = true;
|
189 |
+
// Force no newlines for BR
|
190 |
$initArray['force_br_newlines'] = false;
|
191 |
// Do not remove redundant BR tags
|
192 |
$initArray['remove_redundant_brs'] = false;
|
194 |
$initArray['forced_root_block'] = 'p';
|
195 |
// Apply source formatting
|
196 |
$initArray['apply_source_formatting '] = true;
|
197 |
+
// Add proper newlines to source (i.e. around divs)
|
198 |
+
$initArray['indent '] = true;
|
199 |
// Return modified settings
|
200 |
return $initArray;
|
201 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce
|
|
4 |
Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9
|
7 |
-
Stable tag: 1.4
|
8 |
|
9 |
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
|
10 |
|
@@ -73,6 +73,9 @@ When dealing with a WordPress site URL change it is necessary to face the "seria
|
|
73 |
|
74 |
== Changelog ==
|
75 |
|
|
|
|
|
|
|
76 |
= 1.4 =
|
77 |
* HTML and CSS optimization by using WordPress native editor markup and styles
|
78 |
* Adoption of WordPress JS minification conventions (".min" suffix)
|
4 |
Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9
|
7 |
+
Stable tag: 1.4.1
|
8 |
|
9 |
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
|
10 |
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
+
= 1.4.1 =
|
77 |
+
* Enhanced HTML source code formatting
|
78 |
+
|
79 |
= 1.4 =
|
80 |
* HTML and CSS optimization by using WordPress native editor markup and styles
|
81 |
* Adoption of WordPress JS minification conventions (".min" suffix)
|