-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] mWeb - Compose box- Selected text isn't applied format #53145
Comments
Triggered auto assignment to @kadiealexander ( |
Job added to Upwork: https://www.upwork.com/jobs/~021861616540479439769 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Selected text isn't formatted when selecting format option from the context menu. What is the root cause of that problem?When we have an element with What changes do you think we should make in order to solve the problem?There are 3 "Format" options, Bold, Italic, and Underline. Currently, we don't have a markdown for Underline. To handle the Bold and Italic format, we need to add new cases for bold and italic format command here.
The way the format logic work is by "wrapping" the selected text with the markdown (* for bold, _ for italic). The new selection will be added by 2 because we add 2 * or _. But the Underline format still won't do anything because we don't have a markdown for that, and because the live markdown also handles the styling manually, so the alternative is to disable the "Format" option. We can do that by setting the
Based on the doc, "plaintext-only" is available on most browsers except Firefox, but this Format context menu is only available on Safari, so I think it's not a problem. |
Reviewing. |
@mananjadhav, @kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Bumped @mananjadhav for review here. |
I checked @bernhardoj's proposal. I think we can go ahead with this. But before we finalize I want to understand if we could remove the Underline option from the Format menu? (Atleast on Whatsapp I don't see it), whereas Slack removes the format option for me. Nevertheless we can use @bernhardoj's proposal as they've mentioned the alternative for removing the Tagging @Expensify/design for the input as well. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Triggered auto assignment to @dubielzyk-expensify ( |
Oh interesting, I didn't even know you could do this from iOS. I suppose we could make it so that whatever style you picked from the native menu (bold, italic, etc) was applied via our markdown styles, as in we'd prepend and append a * if you picked bold. Is something like that possible? |
That'd be great if that's possible. If not, I wonder if we could hide or turn off that formatting menu altogether. |
It's possible which is my main solution, however, the Format option includes Underline, but we don't have an underline markdown. I don't see a way to select which format to show, but we can hide entirely with my alternative solution. |
I think it's fine if we don't have an underline markdown for now, at least we'll get the benefit of bold and italic working. |
I'm fine with making just bold and italic work or hiding that format menu item altogether. I also didn't even realize it was there haha. |
Thanks for the confirmation. Opened the PR on live markdown repo here: Expensify/react-native-live-markdown#556 Waiting for the review from the live markdown team. |
@bernhardoj That's a good question raised here. Do we not need it for native? |
Replied on the PR |
Keeping the conversation here to understand the scope. @bernhardoj I can see |
But it's not available on our app, so I'm not sure how we can handle it. |
@mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@mananjadhav @blimpich @bernhardoj @kadiealexander @dubielzyk-expensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Issue is assigned, automation didn't work quite right for some reason. Conversation is active in the PR. |
The conversation is the in Expensify/react-native-live-markdown repo. May be that's why. |
@mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify Eep! 4 days overdue now. Issues have feelings too... |
Looks like we're waiting on reviews on the PR @bernhardoj @mananjadhav? |
Yes, I bumped on the PR |
@mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Not overdue |
@mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
Waiting on reviews, bumped the agency reviewers in the PR. |
@mananjadhav @blimpich @bernhardoj @kadiealexander @dubielzyk-expensify this issue is now 4 weeks old, please consider:
Thanks! |
@mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify 12 days overdue. Walking. Toward. The. Light... |
This issue has not been updated in over 14 days. @mananjadhav, @blimpich, @bernhardoj, @kadiealexander, @dubielzyk-expensify eroding to Weekly issue. |
Still waiting on reviews. Holidays are slowing down the review process for this one I think. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.67-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
**If this was caught during regression testing, add the test name, ID and link from TestRail:**N/A
Email or phone of affected tester (no customers): [email protected]
Action Performed:
Expected Result:
Selected texts should apply choosing format
Actual Result:
Selected texts isn't applied choosing format
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6658637_1731058296145.Qotm2966_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mananjadhavThe text was updated successfully, but these errors were encountered: