wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Some comments are being wrapped by paragraphs.

Open
#818 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

Description

The following tests are failing

  1. https://github.com/wordpress-mobile/AztecEditor-iOS/blob/develop/Example/AztecUITests/AztecUITests.swift#L145
  2. https://github.com/wordpress-mobile/AztecEditor-iOS/blob/develop/Example/AztecUITests/AztecUITests.swift#L153
Expected behavior

The outputs should be:
1: <!--more-->
2: <p>1</p><!--more><p>2</p>

Additional Tasks:

Make sure the referenced tests are enabled again once this issue is fixed.

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 with Example/AztecUITests/AztecUITests.swift at lines 145 and 153, where the failing cases are referenced. Run those tests to reproduce the paragraph wrapping and inspect the relevant editor behavior. Done means both outputs match the expected HTML and the referenced tests are enabled again.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.