Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing enter key, scrolls down automatically #98

Closed
twocngdagz opened this issue Sep 13, 2014 · 4 comments
Closed

Pressing enter key, scrolls down automatically #98

twocngdagz opened this issue Sep 13, 2014 · 4 comments

Comments

@twocngdagz
Copy link

The situation is here, after I have entered a couple of paragraphs in the text area and somehow fulled it so it needs to scroll down and I wanted to edit the text in between the text area so I press enter key what happens next is that it automatically scroll down making the enter key space at the top of the textarea which is bizzare right? How do I make this stop? I just wanted to like when I pressed enter it won't automatically scroll all the way up.

@Waxolunist
Copy link
Owner

Please tell me which version you are using and some more information, like which browser or operating system or how are you initializing the editor.
I can not reproduce this behaviour. Can you reproduce it in one of the examples provided with the source code?

@twocngdagz
Copy link
Author

Hi I'm using version 3. I have not tested it in firefox but the issue occurs in chrome.
This is how I initialized it

$('.textarea').wysihtml5({
"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
"emphasis": true, //Italics, bold, etc. Default true
"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
"html": false, //Button which allows you to edit the generated HTML. Default false
"link": false, //Button to insert a link. Default true
"image": false, //Button to insert an image. Default true,
"color": false //Button to change color of font
});

And YES I can reproduced it in one of the examples

@Waxolunist
Copy link
Owner

First, please format your code snippets.
Second, as I mentioned already in #97 you are using the configuration format from version 0.2.x.
Third, please no capital letters.

So to begin, I assume when you say, version 3, that you are using the latest version 0.3.3. Are you using the amd version or the pure jquery plugin? Minified or not?
Please tell me in which of the examples you can reproduce it, and what are the steps. I know already your browser (assuming the latest version), and I assume you are using windows, am I right?

I need some more accurate information. If the error is in one of the underlying dependencies I need to open an issue, and if I want it to get resolved, the description needs to be good and probably proven with a test.

Can you reproduce it in firefox too? Maybe it is related to Voog/wysihtml#66 or Voog/wysihtml#69

@Waxolunist
Copy link
Owner

The development of bootstrap3-wysiwyg will be continued in a new repo: https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg
@schnawel007 and @Waxolunist are bundling development forces for an even better editor.
This issue will be continued here: bootstrap-wysiwyg/bootstrap3-wysiwyg#98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants