Changeset 1681508
- Timestamp:
- 06/19/2017 09:43:11 PM (9 years ago)
- Location:
- wp-gist-embed
- Files:
-
- 3 edited
- 3 copied
-
tags/0.2 (copied) (copied from wp-gist-embed/trunk)
-
tags/0.2/embed-gist.php (copied) (copied from wp-gist-embed/trunk/embed-gist.php) (2 diffs)
-
tags/0.2/readme.txt (copied) (copied from wp-gist-embed/trunk/readme.txt) (4 diffs)
-
trunk/embed-gist.php (modified) (2 diffs)
-
trunk/mce-gist.js (modified) (4 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-gist-embed/tags/0.2/embed-gist.php
r1393670 r1681508 2 2 /** 3 3 * Plugin Name: WP Gist Embed 4 * Plugin URI: https:// imaginarymedia.com.au/projects/wp-gist-embed/4 * Plugin URI: https://jmr.codes/ 5 5 * Description: A plugin to add Gist embedding support via shortcode and the Tiny MCE editor. 6 * Version: 0. 17 * Author: Imaginary Media8 * Author URI: https:// imaginarymedia.com.au/6 * Version: 0.2 7 * Author: JMR.codes 8 * Author URI: https://jmr.codes/ 9 9 * License: GPL2 10 10 */ 11 11 12 /* Copyright 2015 Imaginary Media (email : support@ imaginarymedia.com.au)12 /* Copyright 2015 Imaginary Media (email : support@jmr.codes) 13 13 14 14 This program is free software; you can redistribute it and/or modify … … 86 86 } 87 87 add_filter("plugin_row_meta", "imeg_plugin_meta_link", 10, 2 ); 88 89 ?> -
wp-gist-embed/tags/0.2/readme.txt
r1393670 r1681508 4 4 Tags: gist, github, shortcode 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 57 Stable tag: 0. 16 Tested up to: 4.8 7 Stable tag: 0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 21 21 The Gist `src` attribute must be the embed URL, for example: https://gist.github.com/imaginarymedia/316a29936e5e7d709665.js 22 22 23 The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. 23 The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. It will apply a max-height to the gist. 24 24 25 25 The plugin also creates UI buttons for both the visual and text editors. … … 27 27 If you have suggestions for improvements, please contact us. via the [plugin support page](https://wordpress.org/support/plugin/wp-gist-embed) and if you find this useful, please [review the plugin](https://wordpress.org/support/view/plugin-reviews/wp-gist-embed). 28 28 29 Developed by [Imaginary Media](https://imaginarymedia.com.au). 29 Developed by [James Robinson](https://jmr.codes). 30 31 ** TO DO ** 32 * Validate the gist src URL 30 33 31 34 == Installation == … … 37 40 == Changelog == 38 41 42 = 0.2 = 43 * Minor updates and compatability checks 44 39 45 = 0.1 = 40 46 * Initial launch -
wp-gist-embed/trunk/embed-gist.php
r1393670 r1681508 2 2 /** 3 3 * Plugin Name: WP Gist Embed 4 * Plugin URI: https:// imaginarymedia.com.au/projects/wp-gist-embed/4 * Plugin URI: https://jmr.codes/ 5 5 * Description: A plugin to add Gist embedding support via shortcode and the Tiny MCE editor. 6 * Version: 0. 17 * Author: Imaginary Media8 * Author URI: https:// imaginarymedia.com.au/6 * Version: 0.2 7 * Author: JMR.codes 8 * Author URI: https://jmr.codes/ 9 9 * License: GPL2 10 10 */ 11 11 12 /* Copyright 2015 Imaginary Media (email : support@ imaginarymedia.com.au)12 /* Copyright 2015 Imaginary Media (email : support@jmr.codes) 13 13 14 14 This program is free software; you can redistribute it and/or modify … … 86 86 } 87 87 add_filter("plugin_row_meta", "imeg_plugin_meta_link", 10, 2 ); 88 89 ?> -
wp-gist-embed/trunk/mce-gist.js
r1065068 r1681508 30 30 ed.execCommand('mceInsertContent', 0, shortcode); 31 31 } else { 32 alert("That doesn't look like a Gist src.");32 window.alert("That doesn't look like a Gist src."); 33 33 } 34 34 } … … 37 37 }); 38 38 }, 39 39 40 40 /** 41 41 * Creates control instances based in the incoming name. This method is normally not … … 51 51 return null; 52 52 }, 53 53 54 54 /** 55 55 * Returns information about the plugin as a name/value array. … … 62 62 longname : 'Embed Gist', 63 63 author : 'James Robinson', 64 authorurl : 'https:// imaginarymedia.com.au/',65 infourl : 'https:// imaginarymedia.com.au/projects/enbed-gists/',64 authorurl : 'https://jmr.codes/', 65 infourl : 'https://jmr.codes/', 66 66 version : "0.1" 67 67 }; 68 68 } 69 69 }); 70 70 71 71 // Register plugin 72 72 tinymce.PluginManager.add( 'embedgist', tinymce.plugins.embedgist ); -
wp-gist-embed/trunk/readme.txt
r1393670 r1681508 4 4 Tags: gist, github, shortcode 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 57 Stable tag: 0. 16 Tested up to: 4.8 7 Stable tag: 0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 21 21 The Gist `src` attribute must be the embed URL, for example: https://gist.github.com/imaginarymedia/316a29936e5e7d709665.js 22 22 23 The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. 23 The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. It will apply a max-height to the gist. 24 24 25 25 The plugin also creates UI buttons for both the visual and text editors. … … 27 27 If you have suggestions for improvements, please contact us. via the [plugin support page](https://wordpress.org/support/plugin/wp-gist-embed) and if you find this useful, please [review the plugin](https://wordpress.org/support/view/plugin-reviews/wp-gist-embed). 28 28 29 Developed by [Imaginary Media](https://imaginarymedia.com.au). 29 Developed by [James Robinson](https://jmr.codes). 30 31 ** TO DO ** 32 * Validate the gist src URL 30 33 31 34 == Installation == … … 37 40 == Changelog == 38 41 42 = 0.2 = 43 * Minor updates and compatability checks 44 39 45 = 0.1 = 40 46 * Initial launch
Note: See TracChangeset
for help on using the changeset viewer.