Skip to content

Commit

Permalink
0.9.6 - fix lists and p tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gschoppe committed Jun 12, 2017
1 parent 1677b49 commit b11d3a8
Show file tree
Hide file tree
Showing 28 changed files with 1,713 additions and 68 deletions.
6 changes: 2 additions & 4 deletions addons/breakout/blockade-breakout.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: blockade_breakout
* Author: Burlington Bytes, LLC
* Description: break out of the container to full width
* Version: 0.9.5
*/
if( !class_exists('BlockadeBreakout') ) {
class BlockadeBreakout {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -32,11 +30,11 @@ private function __construct() {
// PUBLIC FUNCTIONS
public function enqueue_styles_and_scripts() {
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'blockade-breakout', $this->addon_dir_url . 'blockade-breakout.js', array('jquery'), $this->version );
wp_enqueue_script( 'blockade-breakout', $this->addon_dir_url . 'blockade-breakout.js', array('jquery'), WP_Blockade::$version );
}

public function register_tinymce_plugin( $plugins ) {
$plugins['blockade_breakout'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['blockade_breakout'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
}
Expand Down
1 change: 0 additions & 1 deletion addons/breakout/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('blockade_breakout', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/button/blockade-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: button_block
* Author: Burlington Bytes, LLC
* Description: Insert Bootstrap buttons as block-level elements
* Version: 0.9.5
*/
if( !class_exists('BlockadeButtonBlock') ) {
class BlockadeButtonBlock {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -28,7 +26,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['button_block'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['button_block'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
}
Expand Down
1 change: 0 additions & 1 deletion addons/button/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('button_block', function(editor, url) {
// kill if older than IE8
Expand Down
8 changes: 3 additions & 5 deletions addons/glyphicon/blockade-glyphicon.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: glyphicon_block
* Author: Burlington Bytes, LLC
* Description: Insert glyphicons directly as block-level elements
* Version: 0.9.5
*/
if( !class_exists('BlockadeGlyphiconBlock') ) {
class BlockadeGlyphiconBlock {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -30,12 +28,12 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['glyphicon_block'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['glyphicon_block'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
public function enqueue_styles() {
wp_enqueue_style( 'glyphicon-halflings', $this->addon_dir_url . 'font/glyphicons-halflings.css', array(), $this->version );
wp_enqueue_style( 'wp-blockade-glyphicon-styles', $this->addon_dir_url . 'styles.css', array(), $this->version );
wp_enqueue_style( 'glyphicon-halflings', $this->addon_dir_url . 'font/glyphicons-halflings.css', array(), WP_Blockade::$version );
wp_enqueue_style( 'wp-blockade-glyphicon-styles', $this->addon_dir_url . 'styles.css', array(), WP_Blockade::$version );
}
/*
// this should rarely be used
Expand Down
1 change: 0 additions & 1 deletion addons/glyphicon/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('glyphicon_block', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/image/blockade-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: image_block
* Author: Burlington Bytes, LLC
* Description: Insert images directly as block-level elements
* Version: 0.9.5
*/
if( !class_exists('BlockadeImageBlock') ) {
class BlockadeImageBlock {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -29,7 +27,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['image_block'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['image_block'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}

Expand Down
1 change: 0 additions & 1 deletion addons/image/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('image_block', function(editor, url) {
// kill if older than IE8
Expand Down
6 changes: 2 additions & 4 deletions addons/map/blockade-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: map_block
* Author: Burlington Bytes, LLC
* Description: Insert a Google map as a block-level element
* Version: 0.9.5
*/
if( !class_exists('BlockadeMapBlock') ) {
class BlockadeMapBlock {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -29,11 +27,11 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['map_block'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['map_block'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
public function enqueue_styles() {
wp_enqueue_style( 'wp-blockade-map-styles', $this->addon_dir_url . 'styles.css', array(), $this->version );
wp_enqueue_style( 'wp-blockade-map-styles', $this->addon_dir_url . 'styles.css', array(), WP_Blockade::$version );
}
}
BlockadeMapBlock::Instance();
Expand Down
1 change: 0 additions & 1 deletion addons/map/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('map_block', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/raw-html/blockade-raw-html.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: blockade_raw_html
* Author: Burlington Bytes, LLC
* Description: Create Raw HTML elements, and incorporate container and editable areas directly
* Version: 0.9.5
*/
if( !class_exists('BlockadeRawHTML') ) {
class BlockadeRawHTML {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -29,7 +27,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['blockade_raw_html'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['blockade_raw_html'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}

Expand Down
Empty file removed addons/raw-html/editorstyles.css
Empty file.
1 change: 0 additions & 1 deletion addons/raw-html/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('blockade_raw_html', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/shortcode/blockade-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: blockade_shortcode
* Author: Burlington Bytes, LLC
* Description: add shortcode blocks with live preview
* Version: 0.9.5
*/
if( !class_exists('BlockadeShortcode') ) {
class BlockadeShortcode {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -29,7 +27,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['blockade_shortcode'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['blockade_shortcode'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
}
Expand Down
1 change: 0 additions & 1 deletion addons/shortcode/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('blockade_shortcode', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/sidebar/blockade-sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: blockade_sidebar
* Author: Burlington Bytes, LLC
* Description: create and embed widget areas
* Version: 0.9.5
*/
if( !class_exists('BlockadeSidebar') ) {
class BlockadeSidebar {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -31,7 +29,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['blockade_sidebar'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['blockade_sidebar'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
public function list_sidebars() {
Expand Down
1 change: 0 additions & 1 deletion addons/sidebar/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('blockade_sidebar', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/simple-columns/blockade-simple-columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: simple_columns
* Author: Burlington Bytes, LLC
* Description: Create Raw HTML elements, and incorporate container and editable areas directly
* Version: 0.9.5
*/
if( !class_exists('BlockadeSimpleColumns') ) {
class BlockadeSimpleColumns {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -29,7 +27,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['simple_columns'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['simple_columns'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}

Expand Down
Empty file.
1 change: 0 additions & 1 deletion addons/simple-columns/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('simple_columns', function(editor, url) {
// kill if older than IE8
Expand Down
4 changes: 1 addition & 3 deletions addons/sized-preview/blockade-sized-preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: blockade_sized_preview
* Author: Burlington Bytes, LLC
* Description: Preview the editor at different widths
* Version: 0.9.5
*/
if( !class_exists('BlockadeSizedPreview') ) {
class BlockadeSizedPreview {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -31,7 +29,7 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['blockade_sized_preview'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['blockade_sized_preview'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
public function wp_blockade_top_level_buttons( $buttons ) {
Expand Down
1 change: 0 additions & 1 deletion addons/sized-preview/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('blockade_sidebar', function(editor, url) {
// kill if older than IE8
Expand Down
6 changes: 2 additions & 4 deletions addons/video/blockade-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
* Slug: video_block
* Author: Burlington Bytes, LLC
* Description: Insert YouTube and Vimeo videos directly as block-level elements
* Version: 0.9.5
*/
if( !class_exists('BlockadeVideoBlock') ) {
class BlockadeVideoBlock {
private $version = 'v0.9.5';
private static $_this;
private $addon_dir;
private $addon_dir_url;
Expand All @@ -30,11 +28,11 @@ private function __construct() {
}
// PUBLIC FUNCTIONS
public function register_tinymce_plugin( $plugins ) {
$plugins['video_block'] = $this->addon_dir_url . 'plugin.js?v=' . $this->version;
$plugins['video_block'] = $this->addon_dir_url . 'plugin.js?v=' . WP_Blockade::$version;
return $plugins;
}
public function enqueue_styles() {
wp_enqueue_style( 'wp-blockade-video-styles', $this->addon_dir_url . 'styles.css', array(), $this->version );
wp_enqueue_style( 'wp-blockade-video-styles', $this->addon_dir_url . 'styles.css', array(), WP_Blockade::$version );
}

/*
Expand Down
1 change: 0 additions & 1 deletion addons/video/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Plugin URI: http://www.burlingtonbytes.com
Author: Burlington Bytes
Author URI: http://www.burlingtonbytes.com
Version: 0.9.5
*/
tinymce.PluginManager.add('video_block', function(editor, url) {
// kill if older than IE8
Expand Down
Loading

0 comments on commit b11d3a8

Please sign in to comment.