-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
3PC RichText TV textareas suddenly broken in 2.5.x #13070
Comments
Perhaps the CSS definition in Ace could be more specific? Kinda an addon issue, tho it's annoying it's caused by a core change. |
Yeah, I debated where I should file this because of that. Unless there's a way to do it in core to adjust the specificity, potentially accounting for scenario like this? (Long shot? 🏀) |
MODX Extras aside, I personally preferred the |
Something like this appears to fix: .modx-tv .x-form-textarea:not(.ace_editor) {
font-family: inherit;
} UPDATE: Better, more generic: .modx-tv .x-form-textarea:not(div) {
font-family: inherit;
} |
Yuck.. :/ |
See 🏀 above 😉 |
- Fixes #13070 Contains also an update of FontAwesome from 4.6.1 to 4.6.3
Merged into 2.5.1 |
Summary
Since merging #13045, it seems any TV
textarea
rendered with 3PC (like Ace) are now broken.The font + sizing is no longer the same, and the cursor positioning becomes invalid (off to the right), with new characters appearing at the wrong place during insertion.
Step to reproduce
2.5.x-dev
(62fe227 or above)Observed behavior
font-family
.Before:
![tv_before](https://cloud.githubusercontent.com/assets/352182/16881740/cfcbccba-4a78-11e6-962d-3e10123751bf.png)
#### After:Expected behavior
'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
).Simply removing the recently added CSS resolves both the look and functionality:
Environment
MODX 2.5.x-dev
The text was updated successfully, but these errors were encountered: