Changeset 1362653
- Timestamp:
- 03/02/2016 02:37:28 PM (10 years ago)
- Location:
- indent-lists-button
- Files:
-
- 10 added
- 4 edited
-
tags/0.1.2 (added)
-
tags/0.1.2/css (added)
-
tags/0.1.2/css/admin (added)
-
tags/0.1.2/css/admin/ili-admin.css (added)
-
tags/0.1.2/css/ili.css (added)
-
tags/0.1.2/ili-indent-lists-button.php (added)
-
tags/0.1.2/js (added)
-
tags/0.1.2/js/mce-plugin.js (added)
-
tags/0.1.2/languages (added)
-
tags/0.1.2/readme.txt (added)
-
trunk/css/admin/ili-admin.css (modified) (2 diffs)
-
trunk/ili-indent-lists-button.php (modified) (3 diffs)
-
trunk/js/mce-plugin.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indent-lists-button/trunk/css/admin/ili-admin.css
r1359581 r1362653 3 3 display: table; 4 4 font: 20px 'dashicons'; 5 position: absolute; 6 top:0; 5 7 6 } 8 7 i.mce-i-ili_button::before { … … 12 11 content: "\f139"; 13 12 left:7px; 13 position: absolute; 14 top:2.5px; 14 15 } 15 16 i.mce-i-ili_button.ili-indented::after { 16 17 content: "\f141"; 17 18 } 18 19 @media screen and (max-width: 782px){ 20 i.mce-i-ili_button::after { 21 top:6.5px; 22 left:10px; 23 } 24 } -
indent-lists-button/trunk/ili-indent-lists-button.php
r1360404 r1362653 2 2 /* 3 3 * Plugin Name: Indent Lists Button 4 * Version: 0.1. 14 * Version: 0.1.2 5 5 * Plugin URI: http://www.elisewebredactie.nl/indent-lists-button 6 6 * Author: Klaas van der Linden … … 8 8 * Text Domain: indent-lists-button 9 9 * Domain Path: /languages 10 * Description: Indent all lists! Once activated, an "Indent List" button appears in the regular WordPress editor. 10 11 */ 11 12 // Direct access to this file is not permitted … … 61 62 } 62 63 64 // Add a javascript object in the header; to be used by mce-plugin.js 63 65 foreach ( array('post.php','post-new.php') as $hook ) { 64 66 add_action( "admin_head-$hook", 'ili_admin_head' ); 65 67 } 66 67 /**68 * Localize Script69 */70 68 function ili_admin_head() { 71 69 /* translators: this is the tooltip when hovering the Indent Lists button */ 72 70 $title = esc_html__('Indent List', 'indent-lists-button'); 71 $data = get_plugin_data(__FILE__,false,true); 73 72 ?> 74 73 <script type='text/javascript'> 75 74 var iliGlob = { 76 75 'title': '<?php echo $title ?>', 76 'version': '<?php echo $data['Version']; ?>', 77 'pluginURI': '<?php echo $data['PluginURI']; ?>', 78 'name': '<?php echo $data['Name']; ?>', 77 79 }; 78 80 </script> -
indent-lists-button/trunk/js/mce-plugin.js
r1360404 r1362653 18 18 */ 19 19 ed.addButton('the_ili_button', { 20 title : iliGlob.title,20 title : (typeof(iliGlob.title) !== 'undefined') ? iliGlob.title : 'Indent List', 21 21 cmd : 'indent_lists', 22 22 icon : 'ili_button', … … 68 68 getInfo : function() { 69 69 return { 70 longname : 'Indent Lists Buttonmce-plugin',70 longname : ((typeof(iliGlob.name) !== 'undefined') ? iliGlob.name : 'Indent Lists Button') + ' mce-plugin', 71 71 author : 'Klaas van der Linden', 72 72 authorurl : 'http://culturalservices.nl', 73 infourl : 'http://elisewebredactie.nl/indent-lists-button',74 version : "0.1.0"73 infourl : (typeof(iliGlob.pluginURI) !== 'undefined') ? iliGlob.pluginURI : '', 74 version : (typeof(iliGlob.version) !== 'undefined') ? iliGlob.version : '' 75 75 }; 76 76 } -
indent-lists-button/trunk/readme.txt
r1360180 r1362653 2 2 Contributors: Methodos 3 3 Donate link: http://elisewebredactie.nl/indent-lists-button 4 Tags: lists, indent, indentation, bullet lists, list, opsomming, inspringen, Twenty Sixteen, Twenty Fifteen, indent lists 4 Tags: lists, indent, indentation, bullet lists, list, opsomming, inspringen, Twenty Sixteen, Twenty Fifteen, indent lists, opsommingen inspringen, 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.4.2 7 Stable tag: 0.1. 17 Stable tag: 0.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 = Why this plugin? = 16 16 17 In WordPress it's not possible to indent lists. The regular indent -button is greyed out after selecting a bullet list or numbered list. This plugin offers a solution to this problem.17 In WordPress it's not possible to indent lists. The regular indent button is greyed out after selecting a bullet list or numbered list. This plugin offers a solution to this problem. 18 18 19 19 = How to use this plugin =
Note: See TracChangeset
for help on using the changeset viewer.