Skip to content

Commit

Permalink
Fix set editor font css
Browse files Browse the repository at this point in the history
  • Loading branch information
parsakafi committed Jun 9, 2017
1 parent 0b7c26d commit 748c264
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions includes/admin/styles-fix.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function wpp_fix_tinymce_font()
global $wpp_settings;

add_editor_style(WP_PARSI_URL . 'assets/css/editor.css');
if (!isset($wpp_settings['droidsans_editor']) || $wpp_settings['droidsans_editor'] != 'disable') {
add_editor_style(WP_PARSI_URL . 'assets/css/editor-font.css');
if (isset($wpp_settings['droidsans_editor']) && $wpp_settings['droidsans_editor'] != 'disable') {
add_editor_style(WP_PARSI_URL . 'assets/css/editor-font-rtl.css');
}
}

Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ List of some features:

== Changelog ==

= 2.3.0.2 =
* Fix set editor font css

= 2.3 =
* Add [WP-Planet.ir](http://wp-planet.ir) widget
* Fix some bug
Expand Down
2 changes: 1 addition & 1 deletion wp-parsidate.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: WP-Parsidate
* Version: 2.3.0.1
* Version: 2.3.0.2
* Plugin URI: http://forum.wp-parsi.com/
* Description: Persian package for WordPress, Adds full RTL and Shamsi (Jalali) support for: posts, comments, pages, archives, search, categories, permalinks and all admin sections and TinyMce editor, lists, quick editor. This package has Jalali archive widget.
* Author: WP-Parsi Team
Expand Down

0 comments on commit 748c264

Please sign in to comment.