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

Make heading styling distinguishable from paragraph #525

Merged
merged 9 commits into from
Feb 5, 2019

Conversation

pinarol
Copy link
Contributor

@pinarol pinarol commented Jan 30, 2019

Fixes: #351

This PR updates the style of Heading block based on #351 (comment)

Changes reside in wordpress-mobile/AztecEditor-iOS#1127
WPiOS PR: wordpress-mobile/WordPress-iOS#10912 can be used for testing the main app

shadowwithletterspacingiphone7-html

JS bundles are generated because we'll share a WPiOS build with @iamthomasbishop

TO TEST

1 - Testing with Example app:

  • Run yarn install yarn start
  • Run yarn ios <<< Critical since it'll update Carthage dependencies

Test 1 - Create a new Heading block

  • Create a new heading block
  • As you type verify that the font looks bolder than it was before

Test 2 - Switch between different H sizes

  • Select part of the text and tap B button
  • Verify that the selected area gets bolder
  • Switch between H2 H3 H4 types of heading sizes
  • Verify that the boldness of selected area is kept

Test 3 - Verify output html

  • Select part of the text and tap B button
  • Switch to HTML mode
  • Verfiy only the selected and boldened text is surrounded by <strong> tag, and other parts aren't
  • Switch back to visual and verify Bold part remains bold

2 - Testing with WPiOS
PR link: wordpress-mobile/WordPress-iOS#10912

Copy link
Contributor

@diegoreymendez diegoreymendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested through the WPiOS PR and directly and in both scenarios this worked great. Nice job!

@pinarol pinarol merged commit 8af6464 into develop Feb 5, 2019
@pinarol pinarol deleted the issue/351-improve-heading-with-aztec branch February 5, 2019 13:15
daniloercoli added a commit that referenced this pull request Feb 5, 2019
…rg-mobile into issue/372-move-title-to-rich-text

* 'develop' of https://github.com/wordpress-mobile/gutenberg-mobile:
  Make heading styling distinguishable from paragraph (#525)
  Point to merged Aztec commit
  Setup Aztec to not autofocus when visible
  Refocus the last focused item after reattaching
  Update gutenberg ref to master
  Update gutenberg ref
  Fix some issues from merge
  Update gutenberg ref
  Update gutenberg ref
  Update gutenberg ref
  Update gutenberg ref
  Update gutenberg ref
  Update gutenberg ref
  Update gutenberg ref
  Move callbacks closer to Gutenberg fragment
  No need to specially set title/content for new post
  Update android bridge code after merged from develop
  Ability to attach ReactRootView to different Activity

# Conflicts:
#	gutenberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants