wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Code format does not work for some text.

Open
#1,328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug
Dominant language
Swift
Stars
669
Forks
153
Avg merge
11h 27m
Merged PRs (30d)
4

Description

Describe the bug
When we apply code format in note it does not work for some text.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Empty demo
  2. Type any words.
  3. Hit return key.
  4. Apply code format and start typing any random words.
  5. Now click on source code button and you will see that code format does not apply for all text.

Expected behavior
Code Format should apply for all text.

Screenshots
Screenshot 2021-03-23 at 11 04 07 AM
Screenshot 2021-03-23 at 11 04 05 AM

Smartphone (please complete the following information):

  • Device: iPhone 11 Pro
  • OS: 14.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Empty demo on an iPhone or iOS simulator, following the listed steps, then trace the code-format handling used by the note editor. Done means code formatting applies to all typed text after a line break and the source code view reflects the complete formatting.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.