TinyMCE Advanced - Version 5.0.1

Version Description

  • Fixed importing of backed-up settings.
  • Updated the FAQ section in the readme.
Download this release

Release Info

Developer azaozz
Plugin Icon 128x128 TinyMCE Advanced
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0.0 to 5.0.1

Files changed (2) hide show
  1. readme.txt +29 -5
  2. tinymce-advanced.php +4 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: azaozz
3
  Tags: block editor, classic editor, editor, Gutenberg, formatting, tinymce, write
4
  Requires at least: 4.9.8
5
  Tested up to: 5.0
6
- Stable tag: 4.8.2
7
  Requires PHP: 5.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -48,6 +48,10 @@ Best is to install directly from WordPress. If manual installation is required,
48
 
49
  == Changelog ==
50
 
 
 
 
 
51
  = 5.0.0 =
52
  * Added several new buttons to the rich-text toolbar in the Block Editor.
53
  * Added functionality to add, remove and arrange most buttons on the rich-text toolbar in the Block Editor.
@@ -222,19 +226,39 @@ Includes an admin page for arranging the TinyMCE toolbar buttons, easy installat
222
 
223
  == Frequently Asked Questions ==
224
 
225
- = No styles are imported in the Formats sub-menu. =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
 
227
  These styles are imported from your current theme editor-style.css file. However some themes do not have this functionality. For these themes TinyMCE Advanced has the option to let you add a customized editor-style.css and import it into the editor.
228
 
229
- = I have just installed this plugin, but it does not do anything. =
230
 
231
  Change some buttons on one of the toolbars, save your changes, clear your browser cache, and try again. If that does not work try reloading the Edit page several times while holding down Shift. There may also be a network cache somewhere between you and your host. You may need to wait for a few hours until this cache expires.
232
 
233
- = When I add "Smilies", they do not show in the editor. =
234
 
235
  The "Emoticons" button in TinyMCE adds the codes for the smilies. The actual images are added by WordPress when viewing the Post. Make sure the checkbox "Convert emoticons to graphics on display" in "Options - Writing" is checked.
236
 
237
- = The plugin does not add any buttons. =
238
 
239
  Make sure the "Disable the visual editor when writing" checkbox under "Users - Your Profile" is **not** checked.
240
 
3
  Tags: block editor, classic editor, editor, Gutenberg, formatting, tinymce, write
4
  Requires at least: 4.9.8
5
  Tested up to: 5.0
6
+ Stable tag: 5.0.0
7
  Requires PHP: 5.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
48
 
49
  == Changelog ==
50
 
51
+ = 5.0.1 =
52
+ * Fixed importing of backed-up settings.
53
+ * Updated the FAQ section in the readme.
54
+
55
  = 5.0.0 =
56
  * Added several new buttons to the rich-text toolbar in the Block Editor.
57
  * Added functionality to add, remove and arrange most buttons on the rich-text toolbar in the Block Editor.
226
 
227
  == Frequently Asked Questions ==
228
 
229
+ = I see an error like: "Failed to load plugin from url..." =
230
+
231
+ These errors are usually caused by the file in question being blocked by some security setting on the server, or (rarely) by caching issues or wrong permissions.
232
+
233
+ The first step to debug this is to try to access the file directly in the browser (i.e. copy the URL and paste in the browser and press Enter).
234
+
235
+ If you see the file (that’s usually minified JS, so it is all on one line) chances are it was some sort of caching issue that is now resolved. Try using the editor again.
236
+
237
+ If you see an HTTP error (like 403 or 500) best would be to contact your web hosting company for help. In some cases deleting and re-installing the plugin may help.
238
+
239
+ = Tables look different (inline styles are missing) when I insert a table =
240
+
241
+ How tables are formatted depends on two things:
242
+ 1. Settings for the "table" plugin in TinyMCE.
243
+ 2. Whether you resize the table by dragging.
244
+
245
+ By default TinyMCE Advanced sets the editor so no additional styles are added to tables. That way tables are displayed exactly how the theme intended to. This can be changed by changing some editor settings. That can be done by using the [Advanced TinyMCE Configuration](https://wordpress.org/plugins/advanced-tinymce-configuration/) plugin. All table related editor settings are described here: https://www.tiny.cloud/docs/plugins/table/#table_default_attributes.
246
+
247
+ Regardless of the above settings if you resize a table by dragging the height and/or width of the table tag and cell tags will be set as inline styles.
248
+
249
+ = No styles are imported in the Formats sub-menu =
250
 
251
  These styles are imported from your current theme editor-style.css file. However some themes do not have this functionality. For these themes TinyMCE Advanced has the option to let you add a customized editor-style.css and import it into the editor.
252
 
253
+ = I have just installed this plugin, but it does not do anything =
254
 
255
  Change some buttons on one of the toolbars, save your changes, clear your browser cache, and try again. If that does not work try reloading the Edit page several times while holding down Shift. There may also be a network cache somewhere between you and your host. You may need to wait for a few hours until this cache expires.
256
 
257
+ = When I add "Smilies", they do not show in the editor =
258
 
259
  The "Emoticons" button in TinyMCE adds the codes for the smilies. The actual images are added by WordPress when viewing the Post. Make sure the checkbox "Convert emoticons to graphics on display" in "Options - Writing" is checked.
260
 
261
+ = The plugin does not add any buttons =
262
 
263
  Make sure the "Disable the visual editor when writing" checkbox under "Users - Your Profile" is **not** checked.
264
 
tinymce-advanced.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: TinyMCE Advanced
4
  Plugin URI: http://www.laptoptips.ca/projects/tinymce-advanced/
5
  Description: Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
6
- Version: 5.0.0
7
  Author: Andrew Ozz
8
  Author URI: http://www.laptoptips.ca/
9
  License: GPL2
@@ -1032,9 +1032,11 @@ class Tinymce_Advanced {
1032
  if ( ! empty( $_POST[ 'selected_text_background_color' ] ) && $_POST[ 'selected_text_background_color' ] === 'yes' ) {
1033
  $panels_block[] = 'tadv/background-color-panel';
1034
  }
 
 
1035
  }
1036
 
1037
- $settings[ 'panels_block' ] = implode( ',', $panels_block );
1038
 
1039
  if ( ! empty( $user_settings['options'] ) ) {
1040
  $options = explode( ',', $user_settings['options'] );
3
  Plugin Name: TinyMCE Advanced
4
  Plugin URI: http://www.laptoptips.ca/projects/tinymce-advanced/
5
  Description: Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
6
+ Version: 5.0.1
7
  Author: Andrew Ozz
8
  Author URI: http://www.laptoptips.ca/
9
  License: GPL2
1032
  if ( ! empty( $_POST[ 'selected_text_background_color' ] ) && $_POST[ 'selected_text_background_color' ] === 'yes' ) {
1033
  $panels_block[] = 'tadv/background-color-panel';
1034
  }
1035
+
1036
+ $panels_block = implode( ',', $panels_block );
1037
  }
1038
 
1039
+ $settings[ 'panels_block' ] = $panels_block;
1040
 
1041
  if ( ! empty( $user_settings['options'] ) ) {
1042
  $options = explode( ',', $user_settings['options'] );