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

Inserts the code always at the beginning. #7

Open
Alexxiss opened this issue May 13, 2017 · 6 comments
Open

Inserts the code always at the beginning. #7

Alexxiss opened this issue May 13, 2017 · 6 comments

Comments

@Alexxiss
Copy link

Hello!
Thank you for Your decision.
But I'm having some problems

Why the code is always inserted at the very beginning?

For example write some text. After it I want to insert source code.
And it turns out
2017-05-13_13-10-13
In the console there are no errors.
summernote 0.8.3

Please tell me how to fix it?

@shaunfreeman
Copy link
Contributor

this seems to be fixed with the new patch.

@kiksy
Copy link

kiksy commented Nov 3, 2017

I am seeing this issue in v0.7.1 , Summernote: v0.8.8

@kiksy
Copy link

kiksy commented Nov 3, 2017

Interestingly, switching out my code from the minified version to the src for debugging ( https://raw.githubusercontent.com/heyanlong/summernote-ext-highlight/master/src/summernote-ext-highlight.js ) has solved the issue. The code is inserted whereever the cursor is positioned as expected.

@heyanlong
Copy link
Owner

@kiksy What's all this about?

@robertnicjoo
Copy link

3 years later same issue here.

@heyanlong I think it's clear enough what's all this about, just take a look at screenshot author shared.

Whenever we insert code it jumps at the top of our note (editor) regardless which line we're trying to add the code.

@heyanlong
Copy link
Owner

Can you provide testing procedures?

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

No branches or pull requests

5 participants