Skip to content

Commit

Permalink
FF popover bug, Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rramo012 committed Sep 20, 2018
1 parent 185f6f9 commit f0e7a80
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 10 deletions.
4 changes: 2 additions & 2 deletions assets/css/bundle.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/css/editor.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions assets/js/builder/css/draggable.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ iframe[src^="https://maps.google.com"] {
cursor: auto;
}

.bg-drag-popover {
position: absolute;
}

.edit-as-row {
display: none;
}
Expand Down
3 changes: 3 additions & 0 deletions assets/js/builder/popover/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ export class Base {
this.hideHandles();
} );

// Force the popovers to be repositioned.
BG.Service.event.on( 'popoverReposition', () => this.updatePosition() );

BG.Controls.$container.on( 'end_typing_boldgrid', () => {
if ( 'start_typing_boldgrid' === this.hideEventType ) {
this.updatePosition();
Expand Down
2 changes: 1 addition & 1 deletion assets/js/editor.min.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions assets/js/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ IMHWPB.Editor = function( $ ) {

/*
*
* Used for debugging *
* Used for debugging */
/*
var all_events = [
'AddUndo',
'cut',
Expand All @@ -719,6 +719,7 @@ IMHWPB.Editor = function( $ ) {
'BeforeSetContent',
'ExecCommand',
'GetContent',
'SetContent',
'LoadContent',
'NodeChange',
'ObjectResizeStart',
Expand Down Expand Up @@ -747,7 +748,7 @@ IMHWPB.Editor = function( $ ) {
console.log(all_events.join());
editor.on( all_events.join(' '), function( e ) {
console.log(e.type);
} );*/
} ); */
} );
} );

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boldgrid-editor",
"version": "1.8.0-rc.1",
"version": "1.8.0-rc.2",
"description": "Post and Page Builder is a standalone plugin which adds functionality to the existing TinyMCE Editor.",
"main": "gulpfile.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion post-and-page-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Post and Page Builder
* Plugin URI: https://www.boldgrid.com/boldgrid-editor/
* Description: Customized drag and drop editing for posts and pages. The Post and Page Builder adds functionality to the existing TinyMCE Editor to give you easier control over your content.
* Version: 1.8.0-rc.1
* Version: 1.8.0-rc.2
* Author: BoldGrid <support@boldgrid.com>
* Author URI: https://www.boldgrid.com/
* Text Domain: boldgrid-editor
Expand Down

0 comments on commit f0e7a80

Please sign in to comment.