Plugin Directory

Changeset 2404131


Ignore:
Timestamp:
10/21/2020 04:51:34 PM (5 years ago)
Author:
graffino
Message:

Update assets

Location:
clear-floats-button
Files:
2 added
1 deleted
10 edited
9 copied

Legend:

Unmodified
Added
Removed
  • clear-floats-button/tags/1.2.3/CHANGELOG.md

    r2363218 r2404131  
    11# Changelog
     2
     3## 1.2.3
     4
     5- Update assets.
    26
    37## 1.2.2
  • clear-floats-button/tags/1.2.3/README.md

    r2363218 r2404131  
    11# Clear Floats Button
     2
     3![Clear Floats Button](https://github.com/Graffino/Clear-Floats-Button/blob/master/assets/banner-1544x500.png)
    24
    35Adds clear float button to TinyMCE Editor. Originally by [Miguel Ibero](https://wordpress.org/plugins/tinymce-clear-buttons/).
     
    1517
    1618## Changelog
     19
     20### 1.2.3
     21
     22- Update assets.
    1723
    1824### 1.2.2
  • clear-floats-button/tags/1.2.3/class-clear-floats-button.php

    r2363218 r2404131  
    44Plugin URI: https://github.com/Graffino/clear-floats-button
    55Description: Adds a clear floats button to TinyMCE
    6 Version: 1.2.2
     6Version: 1.2.3
    77Author: Graffino
    88Author URI: http://graffino.com
     
    2020class Clear_Floats_Button {
    2121
     22
    2223    public function __construct() {
    2324        add_action( 'init', array( $this, 'clear_floats_addbutton' ) );
     
    2930     * Create plugin name
    3031     *
    31      * @since 1.1.3
     32     * @since  1.1.3
    3233     * @return string Plugin name.
    3334     */
     
    5455     * Register button
    5556     *
    56      * @since 1.0.0
     57     * @since  1.0.0
    5758     * @param  array $buttons Buttons array
    5859     * @return array          Updated buttons array
     
    8081     * Default allowed tags: class|id|style|title|role
    8182     *
    82      * @since 1.0.0
     83     * @since  1.0.0
    8384     * @param  array $options Options array
    8485     * @return array          Updated options array
  • clear-floats-button/tags/1.2.3/mce/clear/editor_plugin.js

    r2363218 r2404131  
    8888        authorurl : 'http://graffino.com',
    8989        infourl : 'https://wordpress.org/plugins/clear-floats-button/',
    90         version : "1.2.2"
     90        version : "1.2.3"
    9191      };
    9292    }
  • clear-floats-button/tags/1.2.3/mce/clear/editor_plugin.min.js

    r2363218 r2404131  
    11(function(){tinymce.create('tinymce.plugins.Clear',{init:function(ed,url){ed.addButton('clearboth',{title:'Clear floats ('+(tinymce.Env.mac?'\u2303\u2325':'Shift+Alt+')+'F'+')',cmd:'clearBoth',image:url+'/images/clear.svg',onPostRender:function(){var _this=this;ed.on('NodeChange',function(e){_this.active(e.element.title=='Clear')})}});var clearHTML='<img src="'+url+'/images/transparent.gif" style="clear: both;" class="mceClear mceClearboth mceItemNoResize" title="Clear">';var insertClear=function(){var html=clearHTML;ed.execCommand('mceInsertContent',!1,html)};ed.addCommand('clearBoth',function(){insertClear()});ed.addShortcut('ctrl+alt+f','Clear floats','clearBoth');ed.on('Init',function(){ed.dom.loadCSS(url+'/css/clear.min.css')});ed.on('BeforeSetContent',function(e){e.content=e.content.replace(/<br clear=" *([^" ]+) *">/g,clearHTML);e.content=e.content.replace(/<br style="clear:both;">/g,clearHTML);e.content=e.content.replace(/<div class="clearfix divider"><\/div>/g,clearHTML)});ed.on('PostProcess',function(e){if(e.get){e.content=e.content.replace(/<img[^>]+>/g,function(html){if(html.indexOf('class="mceClear')!==-1){var m,clear=(m=html.match(/mceClear([a-z]+)/))?m[1]:'';html='<br style="clear:both;">'}
    2 return html})}})},createControl:function(n,cm){return null},getInfo:function(){return{longname:'Clear Floats Button',author:'Graffino',authorurl:'http://graffino.com',infourl:'https://wordpress.org/plugins/clear-floats-button/',version:"1.2.2"}}});tinymce.PluginManager.add('clear',tinymce.plugins.Clear)})()
     2return html})}})},createControl:function(n,cm){return null},getInfo:function(){return{longname:'Clear Floats Button',author:'Graffino',authorurl:'http://graffino.com',infourl:'https://wordpress.org/plugins/clear-floats-button/',version:"1.2.3"}}});tinymce.PluginManager.add('clear',tinymce.plugins.Clear)})()
  • clear-floats-button/tags/1.2.3/readme.txt

    r2363218 r2404131  
    44Requires at least: 2.9
    55Tested up to: 5.5
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161
    6262== Changelog ==
     63
     64= 1.2.3 =
     65- Update assets.
    6366
    6467= 1.2.2 =
  • clear-floats-button/trunk/CHANGELOG.md

    r2363218 r2404131  
    11# Changelog
     2
     3## 1.2.3
     4
     5- Update assets.
    26
    37## 1.2.2
  • clear-floats-button/trunk/README.md

    r2363218 r2404131  
    11# Clear Floats Button
     2
     3![Clear Floats Button](https://github.com/Graffino/Clear-Floats-Button/blob/master/assets/banner-1544x500.png)
    24
    35Adds clear float button to TinyMCE Editor. Originally by [Miguel Ibero](https://wordpress.org/plugins/tinymce-clear-buttons/).
     
    1517
    1618## Changelog
     19
     20### 1.2.3
     21
     22- Update assets.
    1723
    1824### 1.2.2
  • clear-floats-button/trunk/class-clear-floats-button.php

    r2363218 r2404131  
    44Plugin URI: https://github.com/Graffino/clear-floats-button
    55Description: Adds a clear floats button to TinyMCE
    6 Version: 1.2.2
     6Version: 1.2.3
    77Author: Graffino
    88Author URI: http://graffino.com
     
    2020class Clear_Floats_Button {
    2121
     22
    2223    public function __construct() {
    2324        add_action( 'init', array( $this, 'clear_floats_addbutton' ) );
     
    2930     * Create plugin name
    3031     *
    31      * @since 1.1.3
     32     * @since  1.1.3
    3233     * @return string Plugin name.
    3334     */
     
    5455     * Register button
    5556     *
    56      * @since 1.0.0
     57     * @since  1.0.0
    5758     * @param  array $buttons Buttons array
    5859     * @return array          Updated buttons array
     
    8081     * Default allowed tags: class|id|style|title|role
    8182     *
    82      * @since 1.0.0
     83     * @since  1.0.0
    8384     * @param  array $options Options array
    8485     * @return array          Updated options array
  • clear-floats-button/trunk/mce/clear/editor_plugin.js

    r2363218 r2404131  
    8888        authorurl : 'http://graffino.com',
    8989        infourl : 'https://wordpress.org/plugins/clear-floats-button/',
    90         version : "1.2.2"
     90        version : "1.2.3"
    9191      };
    9292    }
  • clear-floats-button/trunk/mce/clear/editor_plugin.min.js

    r2363218 r2404131  
    11(function(){tinymce.create('tinymce.plugins.Clear',{init:function(ed,url){ed.addButton('clearboth',{title:'Clear floats ('+(tinymce.Env.mac?'\u2303\u2325':'Shift+Alt+')+'F'+')',cmd:'clearBoth',image:url+'/images/clear.svg',onPostRender:function(){var _this=this;ed.on('NodeChange',function(e){_this.active(e.element.title=='Clear')})}});var clearHTML='<img src="'+url+'/images/transparent.gif" style="clear: both;" class="mceClear mceClearboth mceItemNoResize" title="Clear">';var insertClear=function(){var html=clearHTML;ed.execCommand('mceInsertContent',!1,html)};ed.addCommand('clearBoth',function(){insertClear()});ed.addShortcut('ctrl+alt+f','Clear floats','clearBoth');ed.on('Init',function(){ed.dom.loadCSS(url+'/css/clear.min.css')});ed.on('BeforeSetContent',function(e){e.content=e.content.replace(/<br clear=" *([^" ]+) *">/g,clearHTML);e.content=e.content.replace(/<br style="clear:both;">/g,clearHTML);e.content=e.content.replace(/<div class="clearfix divider"><\/div>/g,clearHTML)});ed.on('PostProcess',function(e){if(e.get){e.content=e.content.replace(/<img[^>]+>/g,function(html){if(html.indexOf('class="mceClear')!==-1){var m,clear=(m=html.match(/mceClear([a-z]+)/))?m[1]:'';html='<br style="clear:both;">'}
    2 return html})}})},createControl:function(n,cm){return null},getInfo:function(){return{longname:'Clear Floats Button',author:'Graffino',authorurl:'http://graffino.com',infourl:'https://wordpress.org/plugins/clear-floats-button/',version:"1.2.2"}}});tinymce.PluginManager.add('clear',tinymce.plugins.Clear)})()
     2return html})}})},createControl:function(n,cm){return null},getInfo:function(){return{longname:'Clear Floats Button',author:'Graffino',authorurl:'http://graffino.com',infourl:'https://wordpress.org/plugins/clear-floats-button/',version:"1.2.3"}}});tinymce.PluginManager.add('clear',tinymce.plugins.Clear)})()
  • clear-floats-button/trunk/readme.txt

    r2363218 r2404131  
    44Requires at least: 2.9
    55Tested up to: 5.5
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161
    6262== Changelog ==
     63
     64= 1.2.3 =
     65- Update assets.
    6366
    6467= 1.2.2 =
Note: See TracChangeset for help on using the changeset viewer.