froala / meteor-froala

Meteor bindings for the Froala WYSIWYG HTML Editor.
https://froala.com/wysiwyg-editor
MIT License
68 stars 19 forks source link

Cursor disappears after hitting return #20

Closed adamgins closed 8 years ago

adamgins commented 8 years ago

Hi, I am seeing some weirdness in my editor when I hit return.

This image is just before I hit return (see cursor):

image

Then I git return and the cursor disappears:

image

Any ideas, pls?

stefanneculai commented 8 years ago

Is that with V2.0.5?

adamgins commented 8 years ago

Yes

Sent from my iPhone

On 30 Jan 2016, at 12:08 AM, Stefan Neculai notifications@github.com wrote:

Is that with V2.0.5?

— Reply to this email directly or view it on GitHub.

adamgins commented 8 years ago

Thanks for the 2.1.0 update.

I am still getting the cursor issue with that release. I am using the latest Chrome Version 48.0.2564.97 (64-bit) Also, I noticed I know have two tool bars...

image

Have the init params changed?

BTW, I used these init options:

            toolbarSticky:              true,
            toolbarStickyOffset:        0,
            toolbarInline:          false,
stefanneculai commented 8 years ago

It's a new plugin called "Quick Insert". You can disable it if you don't want by not including the JS file for it.

Please make a jsFiddle for the cursor issue, because we cannot replicate it.

adamgins commented 8 years ago

@stefanneculai thanks. Just wondering, how do I disable it by using the Meteor packages.. do I need to clone it and disable that way?

re: jsFiddle - will this do, as it's in a Meteor app and that may be messing with it ?

if you give me an email address I can give you edit rights to this buzz or you can create a new one and add a text field to it. Sorry you won't be able to see the editor unless you login to Buzzy.

https://debug.buzzy.buzz/go/2277daa9a66adb5b43cd3d74/#1a478f60240dbc5c2c5a27bd

adamgins commented 8 years ago

@stefanneculai I found the issue. We had a workaround that I think covered up a previous bug the the build that must have been fixed. Removing the workaround (below) fixes the issue:

// Marker takes up room - force it to hide
.fr-marker {
    display: block !important;
    //border: 1px solid red !important; //testing
    width: 0px !important;
    height: 0px !important; 
}