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

[10.0] Cursor not entering text in the correct place #19087

Open
Nothenn opened this issue Aug 26, 2017 · 5 comments
Open

[10.0] Cursor not entering text in the correct place #19087

Nothenn opened this issue Aug 26, 2017 · 5 comments
Assignees
Labels
10.0 Web editor website editor

Comments

@Nothenn
Copy link

Nothenn commented Aug 26, 2017

Impacted versions: Encountered issue in 10.0 and 9.0 but haven't used other versions

Steps to reproduce: Currently no exact steps but after using the website builder's HTML editor the cursor will not function properly after certain lines, but no pattern found on why it occurs after those lines.

Current behavior: The HTML editor enters text anywhere from 1-8 position to the left of where the cursor is shown to be and where was clicked by the user.

Expected behavior: The text should be entered where the cursor is placed.

Video/Screenshot link (optional): https://gfycat.com/HonorableDeliriousDuckbillcat

@gdgellatly
Copy link
Contributor

gdgellatly commented Aug 26, 2017 via email

@Yenthe666 Yenthe666 added 10.0 Web editor website editor labels Dec 29, 2017
@qsm-odoo qsm-odoo self-assigned this Jan 24, 2018
@qsm-odoo
Copy link
Contributor

Hello,
I indeed saw this bug sometimes but I cannot reproduce it anymore. Maybe it was fixed meanwhile?
I am closing the issue but if you still face the problem, please ask me to reopen.

@intero-chz
Copy link
Contributor

intero-chz commented Jan 24, 2018

This 1-8 postions problem is coming up if you use tabs instead of spaces in xml files. The editor can't handle it properly. But i don't know if that was fixed.

@miquelalzanillas
Copy link

Hello,

In v11 I'm still having this bug with the current code. In v12 I don't.

Any idea of how to solve this in v11?

Thanks.

@miquelalzanillas
Copy link

Hello @qsm-odoo ,

just found the error. The 'font-family' of web editor have to be 'monospace', if you change the font styling theme by error as in my case, the editor will not point the cursor in the correct position.

In my case I had this in my theme, and was overriding the web_editor native font-family.:

p, a,span, section, i, div{ .muli-regular(); }

Thanks.

@qsm-odoo qsm-odoo reopened this Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.0 Web editor website editor
Projects
None yet
Development

No branches or pull requests

6 participants