Changeset 2404131
- Timestamp:
- 10/21/2020 04:51:34 PM (5 years ago)
- Location:
- clear-floats-button
- Files:
-
- 2 added
- 1 deleted
- 10 edited
- 9 copied
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
tags/1.2.3 (copied) (copied from clear-floats-button/trunk)
-
tags/1.2.3/CHANGELOG.md (copied) (copied from clear-floats-button/trunk/CHANGELOG.md) (1 diff)
-
tags/1.2.3/README.md (copied) (copied from clear-floats-button/trunk/README.md) (2 diffs)
-
tags/1.2.3/class-clear-floats-button.php (copied) (copied from clear-floats-button/trunk/class-clear-floats-button.php) (5 diffs)
-
tags/1.2.3/clear-floats-button.php (deleted)
-
tags/1.2.3/mce/clear/css/clear.css (copied) (copied from clear-floats-button/trunk/mce/clear/css/clear.css)
-
tags/1.2.3/mce/clear/css/clear.min.css (copied) (copied from clear-floats-button/trunk/mce/clear/css/clear.min.css)
-
tags/1.2.3/mce/clear/editor_plugin.js (copied) (copied from clear-floats-button/trunk/mce/clear/editor_plugin.js) (1 diff)
-
tags/1.2.3/mce/clear/editor_plugin.min.js (copied) (copied from clear-floats-button/trunk/mce/clear/editor_plugin.min.js) (1 diff)
-
tags/1.2.3/phpcs.xml (added)
-
tags/1.2.3/readme.txt (copied) (copied from clear-floats-button/trunk/readme.txt) (2 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/README.md (modified) (2 diffs)
-
trunk/class-clear-floats-button.php (modified) (5 diffs)
-
trunk/mce/clear/editor_plugin.js (modified) (1 diff)
-
trunk/mce/clear/editor_plugin.min.js (modified) (1 diff)
-
trunk/phpcs.xml (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clear-floats-button/tags/1.2.3/CHANGELOG.md
r2363218 r2404131 1 1 # Changelog 2 3 ## 1.2.3 4 5 - Update assets. 2 6 3 7 ## 1.2.2 -
clear-floats-button/tags/1.2.3/README.md
r2363218 r2404131 1 1 # Clear Floats Button 2 3  2 4 3 5 Adds clear float button to TinyMCE Editor. Originally by [Miguel Ibero](https://wordpress.org/plugins/tinymce-clear-buttons/). … … 15 17 16 18 ## Changelog 19 20 ### 1.2.3 21 22 - Update assets. 17 23 18 24 ### 1.2.2 -
clear-floats-button/tags/1.2.3/class-clear-floats-button.php
r2363218 r2404131 4 4 Plugin URI: https://github.com/Graffino/clear-floats-button 5 5 Description: Adds a clear floats button to TinyMCE 6 Version: 1.2. 26 Version: 1.2.3 7 7 Author: Graffino 8 8 Author URI: http://graffino.com … … 20 20 class Clear_Floats_Button { 21 21 22 22 23 public function __construct() { 23 24 add_action( 'init', array( $this, 'clear_floats_addbutton' ) ); … … 29 30 * Create plugin name 30 31 * 31 * @since 1.1.332 * @since 1.1.3 32 33 * @return string Plugin name. 33 34 */ … … 54 55 * Register button 55 56 * 56 * @since 1.0.057 * @since 1.0.0 57 58 * @param array $buttons Buttons array 58 59 * @return array Updated buttons array … … 80 81 * Default allowed tags: class|id|style|title|role 81 82 * 82 * @since 1.0.083 * @since 1.0.0 83 84 * @param array $options Options array 84 85 * @return array Updated options array -
clear-floats-button/tags/1.2.3/mce/clear/editor_plugin.js
r2363218 r2404131 88 88 authorurl : 'http://graffino.com', 89 89 infourl : 'https://wordpress.org/plugins/clear-floats-button/', 90 version : "1.2. 2"90 version : "1.2.3" 91 91 }; 92 92 } -
clear-floats-button/tags/1.2.3/mce/clear/editor_plugin.min.js
r2363218 r2404131 1 1 (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)})()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.3"}}});tinymce.PluginManager.add('clear',tinymce.plugins.Clear)})() -
clear-floats-button/tags/1.2.3/readme.txt
r2363218 r2404131 4 4 Requires at least: 2.9 5 5 Tested up to: 5.5 6 Stable tag: 1.2. 26 Stable tag: 1.2.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 61 61 62 62 == Changelog == 63 64 = 1.2.3 = 65 - Update assets. 63 66 64 67 = 1.2.2 = -
clear-floats-button/trunk/CHANGELOG.md
r2363218 r2404131 1 1 # Changelog 2 3 ## 1.2.3 4 5 - Update assets. 2 6 3 7 ## 1.2.2 -
clear-floats-button/trunk/README.md
r2363218 r2404131 1 1 # Clear Floats Button 2 3  2 4 3 5 Adds clear float button to TinyMCE Editor. Originally by [Miguel Ibero](https://wordpress.org/plugins/tinymce-clear-buttons/). … … 15 17 16 18 ## Changelog 19 20 ### 1.2.3 21 22 - Update assets. 17 23 18 24 ### 1.2.2 -
clear-floats-button/trunk/class-clear-floats-button.php
r2363218 r2404131 4 4 Plugin URI: https://github.com/Graffino/clear-floats-button 5 5 Description: Adds a clear floats button to TinyMCE 6 Version: 1.2. 26 Version: 1.2.3 7 7 Author: Graffino 8 8 Author URI: http://graffino.com … … 20 20 class Clear_Floats_Button { 21 21 22 22 23 public function __construct() { 23 24 add_action( 'init', array( $this, 'clear_floats_addbutton' ) ); … … 29 30 * Create plugin name 30 31 * 31 * @since 1.1.332 * @since 1.1.3 32 33 * @return string Plugin name. 33 34 */ … … 54 55 * Register button 55 56 * 56 * @since 1.0.057 * @since 1.0.0 57 58 * @param array $buttons Buttons array 58 59 * @return array Updated buttons array … … 80 81 * Default allowed tags: class|id|style|title|role 81 82 * 82 * @since 1.0.083 * @since 1.0.0 83 84 * @param array $options Options array 84 85 * @return array Updated options array -
clear-floats-button/trunk/mce/clear/editor_plugin.js
r2363218 r2404131 88 88 authorurl : 'http://graffino.com', 89 89 infourl : 'https://wordpress.org/plugins/clear-floats-button/', 90 version : "1.2. 2"90 version : "1.2.3" 91 91 }; 92 92 } -
clear-floats-button/trunk/mce/clear/editor_plugin.min.js
r2363218 r2404131 1 1 (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)})()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.3"}}});tinymce.PluginManager.add('clear',tinymce.plugins.Clear)})() -
clear-floats-button/trunk/readme.txt
r2363218 r2404131 4 4 Requires at least: 2.9 5 5 Tested up to: 5.5 6 Stable tag: 1.2. 26 Stable tag: 1.2.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 61 61 62 62 == Changelog == 63 64 = 1.2.3 = 65 - Update assets. 63 66 64 67 = 1.2.2 =
Note: See TracChangeset
for help on using the changeset viewer.