Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

BenSpace48
Copy link
Contributor

@BenSpace48 BenSpace48 commented May 30, 2018

Improved the formatting of the block class required message.

This PR is a:

  • New topic
  • Content fix or rewrite
  • Bug fix or improvement

Summary

When this pull request is merged, it will improve the formatting of the block class note.

I previously used markdown which isn't styling the content as I expected.

screen shot 2018-05-30 at 09 36 18

Improved the formatting of the block class required message.
@@ -48,7 +48,7 @@ Defines a block.
Blocks employ templates to generate {% glossarytooltip a2aff425-07dd-4bd6-9671-29b7edefa871 %}HTML{% endglossarytooltip %}. Examples of blocks include a {% glossarytooltip 50e49338-1e6c-4473-8527-9e401d67ea2b %}category{% endglossarytooltip %} list, a mini cart, product tags, and product listing.</p>

<div class="bs-callout bs-callout-info">
Copy link
Contributor

Choose a reason for hiding this comment

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

Add the markdown="1" attribute to use markdown syntax:

<div class="bs-callout bs-callout-info" markdown="1">

@jeff-matthews jeff-matthews added the Editorial Typo and grammar fixes or minor rewrites to correct inaccuracies label May 30, 2018
Update note to use markdown
@BenSpace48
Copy link
Contributor Author

Nice, I've changed it back and added markdown="1". Ready for re-review @jeff-matthews, thanks.

<div class="bs-callout bs-callout-info">
<p>The class attribute is no longer required in version <code>2.2.1</code> and above as it will default to <code>Magento\Framework\View\Element\Template</code>. <b>In versions lower than `2.2.1` class is still required.</b></p>
<div class="bs-callout bs-callout-info" markdown="1">
<p>The class attribute is no longer required in version `2.2.1` and above as it will default to `Magento\Framework\View\Element\Template`. **In versions lower than `2.2.1` class is still required.**</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

You also need to remove the <p> tags

Removed the p tag from block class requirement note.
@magento-cicd2
Copy link
Contributor

magento-cicd2 commented May 31, 2018

CLA assistant check
All committers have signed the CLA.

@BenSpace48
Copy link
Contributor Author

P tag has been removed @jeff-matthews

Edited for grammar and punctuation.
Copy link
Contributor

@bdenham bdenham left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @BenSpace48 !

@bdenham bdenham merged commit fd80488 into magento:develop May 31, 2018
@bdenham bdenham added the 2.2.x label May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.2.x Editorial Typo and grammar fixes or minor rewrites to correct inaccuracies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants