Skip to content

Fix custom CTA text for page attachment#3237

Merged
westonruter merged 3 commits intodevelopfrom
fix/1973-cta-property-name
Sep 13, 2019
Merged

Fix custom CTA text for page attachment#3237
westonruter merged 3 commits intodevelopfrom
fix/1973-cta-property-name

Conversation

@barklund
Copy link
Copy Markdown
Contributor

@barklund barklund commented Sep 13, 2019

Fixes #1973.

FE saves the CTA text in a variable named openText, but the backend used text to access it. With a simple rename it works as expected with and without CTA text specified.

Fixes #1973.

FE saves the CTA text in a variable named `openText`, but the backend used `text` to access it. With a simple rename it works as expected with and without CTA text specified.
@barklund barklund requested review from dero and swissspidy September 13, 2019 15:18
@googlebot googlebot added the cla: yes Signed the Google CLA label Sep 13, 2019
@barklund barklund added [AMP Stories] Editing Bug Something isn't working labels Sep 13, 2019
Copy link
Copy Markdown
Contributor

@dero dero left a comment

Choose a reason for hiding this comment

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

LGTM! :)

@dero
Copy link
Copy Markdown
Contributor

dero commented Sep 13, 2019

@barklund Just wondering about the failing e2e tests. Have you looked into the test run and verified the issues are not related to this change?

…cta-property-name

* 'develop' of github.com:ampproject/amp-wp:
  Remove extra line I added in resolving merge conflict
  Fix cut handler by shortcut
  Cleanup of duplicated comment
  Add unit testing to `addVideoAriaLabel`
  Remove unused piece of code
  Add skipped e2e test for the video block
  Add @link tags for the code that the classes were copied from
  Remove extra @param tag for alternateMinImageDimensions
  Update assets/src/common/helpers/index.js
  Slightly update wording
  Add accessibility label for video blocks
  Add an e2e test for featured image notices in the block editor
  Remove another reference to cropping, that doesn't apply to this class
  Remove a DocBlock description that applies to another class
  Remove cropping from the non-AMP Story editor (posts)
@westonruter westonruter merged commit e47612e into develop Sep 13, 2019
@westonruter westonruter deleted the fix/1973-cta-property-name branch September 13, 2019 18:58
@westonruter westonruter added this to the v1.3 milestone Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working cla: yes Signed the Google CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement support for <amp-story-page-attachment>

6 participants