Giter Site home page Giter Site logo

studiopress / atomic-blocks Goto Github PK

View Code? Open in Web Editor NEW
157.0 25.0 58.0 8.53 MB

Atomic Blocks has been renamed to Genesis Blocks. This plugin is no longer maintained! Visit Atomic Blocks → Migrate to migrate to the new plugin.

Home Page: https://wordpress.org/plugins/genesis-blocks/

License: GNU General Public License v3.0

PHP 31.84% JavaScript 57.14% Shell 0.01% SCSS 11.01%

atomic-blocks's Introduction

=== Atomic Blocks - Gutenberg Blocks Collection ===
Contributors: atomicblocks, mindctrl, arrayhq, wpengine, studiopress, marksabbath
Donate link: https://atomicblocks.com
Tags: Blocks, editor, gutenberg, gutenberg blocks, page builder, block enabled, page building, block, WP Engine
Requires at least: 5.3
Tested up to: 5.5
Stable tag: 2.9.0
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A collection of beautiful, customizable Gutenberg blocks for the new block editor.

== Description ==

Atomic Blocks has moved!

Same powerful blocks, same beautiful designs, same innovative team. Atomic Blocks has been renamed to Genesis Blocks. [Learn more about Genesis Blocks](https://studiopress.com/genesis-blocks/). With our migration tool built right into Genesis Blocks, the transition between plugins will be simple and seamless - plus you'll be ready to receive the new blocks and features we're releasing soon.

Atomic Blocks is a collection of page building blocks for the new [Gutenberg](https://atomicblocks.com/beginners-guide-gutenberg/?utm_source=WP.org%20Description%20Gberg%20Link&utm_campaign=wporg_desc_gberg_link) block editor. Building pages with the block editor and Atomic Blocks gives you more control to quickly create and launch any kind of site you want!

Installing the customizable Atomic Block plugin adds a collection of beautiful, site-building blocks to help you customize page layouts, increase engagement, and get results for your business. Atomic Blocks provides everything from customizable buttons, to beautifully-designed page sections and full-page layout designs via the Section & Layout block.

Along with the content blocks you'll find in Atomic Blocks, we're also publishing helpful articles and tutorials to help you get started with Gutenberg.

### New Section and Layout Block!

https://www.youtube.com/watch?v=iJC2AY-ClO8

On top of the handy, time-saving blocks already found in Atomic Blocks, we're excited to introduce the brand new Section and Layout block! This block comes with a library of pre-designed sections and layouts to help you quickly and easily build a beautiful site with the new block editor.

Using the Section and Layout modal window, you can browse designs by category, search, and even add sections and layouts to a Favorites tab for quick access later. Paired with the free [Atomic Blocks theme](https://wordpress.org/themes/atomic-blocks/), which has support for full-width, block-based page building, you have everything you need to start building your site today!

### Atomic Blocks currently includes the following blocks:

* Section & Layout Block  – [Block Demo (NEW!)](https://atomicblocks.com/blocks/layout-block/)
* Advanced Columns Block  – [Block Demo (NEW!)](https://atomicblocks.com/blocks/advanced-columns-block/)
* Newsletter Block  – [Block Demo](https://atomicblocks.com/blocks/newsletter-block/)
* Pricing Block  – [Block Demo](https://atomicblocks.com/blocks/pricing-table-block/)
* Post Grid Block - [Block Demo](https://atomicblocks.com/blocks/post-grid-block/)
* Container Block - [Block Demo](https://atomicblocks.com/blocks/container-block/)
* Testimonial Block - [Block Demo](https://atomicblocks.com/blocks/testimonial-block/)
* Inline Notice Block - [Block Demo](https://atomicblocks.com/blocks/inline-notice-block/)
* Accordion Block - [Block Demo](https://atomicblocks.com/blocks/accordion-block/)
* Share Icons Block - [Block Demo](https://atomicblocks.com/blocks/sharing-icons-block/)
* Call-To-Action Block - [Block Demo](https://atomicblocks.com/blocks/call-to-action-block/)
* Customizable Button Block - [Block Demo](https://atomicblocks.com/blocks/customizable-button-block/)
* Spacer & Divider Block - [Block Demo](https://atomicblocks.com/blocks/spacer-and-divider-block/)
* Author Profile Block - [Block Demo](https://atomicblocks.com/blocks/author-profile-block/)
* Drop Cap Block - [Block Demo](https://atomicblocks.com/blocks/drop-cap-block/)

### Atomic Blocks WordPress Theme

We've created a beautiful WordPress theme to help you get started with the Atomic Blocks plugin and the new WordPress block editor. The theme integrates seamlessly with the blocks you'll find in the plugin!

* [Atomic Blocks Theme Demo](https://preview.arraythemes.com/atomicblocks/?utm_source=WP.org%20AB%20Theme%20Demo%20Link&utm_campaign=wporg_ab_theme_demo_link)
* [Download the Atomic Blocks Theme](https://atomicblocks.com/?utm_source=WP.org%20AB%20Page&utm_campaign=wporg_ab_page)
* [View the theme help file](https://atomicblocks.com/theme-help-file/?utm_source=WP.org%20AB%20Theme%20Help%20File%20Link&utm_campaign=wporg_ab_theme_help_link)

In addition to the Atomic Block Theme, we’ve built Revolution Pro with the StudioPress team. This theme is built from the ground up with blocks—Gutenberg core and Atomic. Using this Theme and the Genesis One-Click Theme Install you can have a new block-based site up and running in minutes.

* [Revolution Pro Theme Demo](https://demo.studiopress.com/revolution/)
* [Purchase the Revolution Theme](https://my.studiopress.com/themes/revolution/)

### Google AMP Support

The Accelerated Mobile Pages (AMP) project is a publishing format created by Google to enhance site performance for mobile website users. AMP pages are specially designed for Google search users to quickly load website pages without using any extraneous data. Atomic Blocks has support for AMP built into each block!

### Atomic Blocks Help File

We've created a handy help file that you can [check out here](https://atomicblocks.com/plugin-help-file/?utm_source=WP.org%20AB%20Help%20File&utm_campaign=wporg_ab_help_file). The help file covers how to setup the plugin and get started with the blocks.

The help file is also available in the plugin once activated. Click the Atomic Blocks admin menu item to visit the Getting Started page.

[View the plugin help file](https://atomicblocks.com/plugin-help-file/?utm_source=WP.org%20AB%20Help%20File&utm_campaign=wporg_ab_help_file)

### Follow Along:

* [Visit the Atomic Blocks site](https://atomicblocks.com/?utm_source=WP.org%20AB%20Page&utm_campaign=wporg_ab_page)
* [Subscribe to the newsletter](https://atomicblocks.com/subscribe?utm_source=WP.org%20AB%20Subscribe&utm_campaign=wporg_ab_subscribe)
* [Follow on Twitter](https://twitter.com/atomicblocks)

== Installation ==

This plugin can be installed directly from your site.

1. Log in and navigate to _Plugins → Add New.
2. Type "Atomic Blocks" into the Search and hit Enter.
3. Locate the Atomic Blocks plugin in the list of search results and click **Install Now**.
4. Once installed, click the Activate link.
5. You will be redirected to the Atomic Blocks Getting Started page.

It can also be installed manually.

1. Download the Atomic Blocks plugin from WordPress.org.
2. Unzip the package and move to your plugins directory.
3. Log into WordPress and navigate to the Plugins screen.
4. Locate Atomic Blocks in the list and click the *Activate* link.
5. You will be redirected to the Atomic Blocks Getting Started page.

== Frequently Asked Questions ==

= Can Atomic Blocks be used with any theme? =

Yes, you can use Atomic Blocks with any theme, but we recommend using our [Atomic Blocks](https://atomicblocks.com) theme or one of the Gutenberg-ready StudioPress themes such as [Revolution](https://my.studiopress.com/themes/revolution/) for the best presentation. Both of these themes have beautiful styles built in specifically for Atomic Blocks.

[Get the Atomic Blocks theme](https://atomicblocks.com/?utm_source=WP.org%20AB%20Theme%20Link&utm_campaign=wporg_ab_theme_link)

= Do I need the new block editor to use Atomic Blocks? =

Yes, you will need to have WordPress 5.0 or later installed to take advantage of Atomic Blocks.

== Screenshots ==

1. Product Launch Page Layout
2. Business Page Layout
3. Personal Page Layout
4. Team Section
5. Hero Header Section
6. Testimonial Section
7. Pricing Table Block
8. Post and Page Grid Block
9. Call-To-Action Block
10. Testimonial Block
11. Text Notice Block
12. Sharing Icons Block
13. Author Profile Block
14. Accordion Block
15. Customizable Button Block
16. Drop Cap Block
17. Spacer and Divider Block

== Changelog ==
= 2.9.0 =
* Atomic Blocks has moved! Same powerful blocks, same beautiful designs, same innovative team. Atomic Blocks has been renamed to Genesis Blocks. Update now to learn more!

= 2.8.6 =
* Fixed issue with the Post & Page Grid block where automatic excerpts did not show under certain conditions.
* Removed unnecessary padding in the editor on full-width Container, Pricing, and Advanced Column blocks.
* Advanced Columns and Pricing blocks now show new columns when the column count is increased in WordPress 5.5.
* Placeholder text in the Advanced Columns block is now visible in WordPress 5.5.

= 2.8.5 =
* Fixes issue where all pages selected in the Post and Page Grid block might not be displayed.
* Fixes issue where column setting was not visible when working with pages in the Post and Page Grid block.
* Fixes issue with block styles not loading on the front end under certain conditions.

= 2.8.4 =
* Improves styles for improved editor preview.
* Introduce fluid typography styles for use in future releases.

= 2.8.3 =
* Improves the Layouts block usability by making the library window wider.
* Improves the Layouts library window performance by optimizing the preview images.

= 2.8.2 =
* Fixes issue with link colors in Notices block.

= 2.8.1 =
* Improve editor padding on nested blocks.

= 2.8.0 =
* Added support for selecting specific pages in the Post and Page Grid block.
* Improve display of inline toolbars on Container, Columns, and Pricing Table.
* Improve display of focus/select styles on blocks.

= 2.7.1 =
* Added file that was missing in 2.7.0. Sorry, folks!

= 2.7.0 =
* Improved compatibility with WordPress 5.4 changes.
* Improved performance by reducing JavaScript file sizes.
* Updated the Getting Started page with improved help and documentation info.

= 2.6.0 =
* Added support for Shortcode block in the Pricing Table block.
* Improved MailChimp list caching in the Newsletter block.
* Fixed minimum Spacer Height allowed in Spacer block.
* Fixed Notice block compatibility issue with IE 11.
* Fixed issue with 4 column layout in Post Grid block.

= 2.5.2 =
* Fixes an issue where front-end styles weren't loading due to conflicts with other plugins.
* Fixes a conflict with other Font Awesome plugins.

= 2.5.1 =
* Fixes an issue where the Layout block would show zero items in the library under certain conditions.

= 2.5.0 =
* Add styles for users who are experimenting with the latest Gutenberg plugin.
* Change wp.editor reference to wp.blockEditor to fix deprecation notices.
* Fix PHP notice that shows when image for post grid is not available.
* Fix issue where FontAwesome icons show intermittently in the editor.
* Improve CSS Grid styles for IE.

= 2.4.0 =
* Fixed issue with Container block that happened when clearing the "Inside Container Max Width" setting.
* Fixed warning message related to Accordion block font size.
* Whitelisted the HTML block in the Pricing Table block, allowing you to add custom buttons, etc.
* Fixed default color issue on Button block.
* Added support for controlling block settings permissions in Atomic Blocks Pro.

= 2.3.0 =
* Improve compatibility with HubSpot plugin form capturing feature.
* Improve styles when used with Twenty Twenty theme.
* Improve WordPress 5.3 compatibility.

= 2.2.0 =
* Fixed font size issues in Business layout.
* Added support for Atomic Blocks Pro.

= 2.1.0 =
* Add background image support to Advanced Columns block.
* Add 1-column support to Post Grid block.
* Add missing class to Post Grid section title.
* Fix layout modal state for upcoming Gutenberg update.
* Disable automatic activation of Gutenberg plugin.

= 2.0.2 =
* Remove jQuery dependency when enqueuing dismiss.js.
* Fix IE styles for blocks that use CSS Grid (pricing table and columns).
* Fix undefined error for installs under WordPress 5.0.
* Fix image display CSS property.
* Fix specificity of CSS Grid for child elements.

= 2.0.1 =
* Add double opt-in option to Newsletter block.
* Remove Google+ from Sharing block.
* Add button to remove image from Testimonial and Author Profile block.
* Add prefix to alignment CSS class on Sharing and Accordion block.
* Change duplicate layout name.
* Remove duplicate CSS entries to increase performance.
* Remove outdated French translation files in favor of wp.org translations.
* Remove default font value in Accordion block so block can use theme font declarations.
* Remove overly specific font size declaration in Accordion block.
* Remove the currently viewed post from the posts query to avoid duplicate display in Post Grid.

= 2.0 =
* Add Section & Layout block.

= 1.8.1 =
* Add files that were lost during transmission when releasing 1.8.0.

= 1.8.0 =
* Made all blocks compatible with the official AMP plugin. No more validation errors.
* Notice block: Improve dismissible notice support for older browsers.
* Notice block: Fix bug that caused dismiss icon to show on non-dismissible notices under certain conditions.
* Post & Page Grid block: Improved grid support for Internet Explorer.
* Post & Page Grid block: Fix compatibility issue with WordPress 5.2
* Post & Page Grid block: Add support for custom image sizes registered by themes and other plugins.
* Post & Page Grid block: Add full width alignment option.
* Advanced Columns block: Add support for custom CSS class on inner columns.
* Button block: Removed custom color palette in favor of the active theme's color palette.

= 1.7.1 =
* Post Grid: Improve IE11 support on the grid.

= 1.7.0 =
* Add the Advanced Columns block.
* Newsletter: Change button to input and adjust styles.

= 1.6.1 =
* Newsletter: Add instance ID to input field.
* Newsletter: Change input type to email.
* Newsletter: Change how nonce is handled and remove id attribute.
* Author Profile: Add a description below the Email URL field.
* Post Grid: Fix excerpt length.
* Accordion: Fix link styles.
* Fix redirect bug on multisite installs.

= 1.6.0 =
* Add the Newsletter block.

= 1.5.5 =
* Add several features to Post/Page Grid block.

= 1.5.4 =
* Fix bug with author profile links.
* Improve mobile styles.
* Remove unused CPTs.
* Remove plugin-defined color palettes in favor of theme palettes.
* Fix color setting bug in spacer block.

= 1.5.3 =
* Fix bug with undefined dim ratio in CTA.

= 1.5.2 =
* Fix bug with undefined dim ratio.

= 1.5.1 =
* Fix bug with lodash scoping.
* Fix bug with URL input on pricing table.

= 1.5.0 =
* Add Pricing Table block.
* Fix container background clearing bug.

= 1.4.23 =
* Add block alignment class back to CTA block.
* Refactor deprecated code format.

= 1.4.22 =
* Add title toggle to Post Grid block.
* Update CTA block to account for Gutenberg changes.
* Add LinkedIn icon to Author Profile block.
* Add noreferrer to Button block.

= 1.4.21 =
* Remove notice to install Gutenberg.

= 1.4.2 =
* Fix category error in Post Grid block.
* Change asset loading for WordPress 5.0.

= 1.4.1 =
* Fix FontAwesome loading issue.

= 1.4.0 =
* Add block dependencies to wp_enqueue_script

= 1.3.9 =
* Fix behavior of attribute output
* Restrict media upload to images
* Update French translation strings

= 1.3.8 =
* Improved Getting Started page.
* Update translation strings.

= 1.3.7 =
* Update translation strings.
* Limit asset loading to GS page.
* Add conditional check to post grid.
* Add French translations.

= 1.3.6 =
* Update PanelColor component to PanelColorSettings.

= 1.3.5 =
* Fix button focus bug in Call To Action block.
* Fix button focus bug in Button block.
* Fix text focus bug in Author Profile block.

= 1.3.4 =
* Convert Accordion Block text area to InnerBlocks to allow for adding any block.

= 1.3.3 =
* Update FontAwesome to 5.2.0.
* Move dynamic block PHP to src folder.
* Add option to customize Read More link text in Post Grid block.

= 1.3.2 =
* Fix category drop down on Post Grid block.
* Fix path to fontawesome on Getting Started page.

= 1.3.1 =
* Fix bug in Post Grid block that prevented it from displaying in the editor.
* Fix window.userSettings is undefined error.
* Fix bug in dismissable notice.

= 1.3.0 =
* Fix padding increments on Container block.
* Improve color display on Call To Action block text.

= 1.2.9 =
* Convert saved RichText to RichText.Content.
* Prepare blocks for toolbar formatting.

= 1.2.8 =
* Fix focus bug on Testimonial block title.

= 1.2.7 =
* Fix URLInput on the Button block.

= 1.2.6 =
* Remove unnecessary state from blocks.
* Improve call to decodeEntities.
* Update URLInput.

= 1.2.5 =
* Fix links in readme.txt.
* Fix update notice CSS bug.

= 1.2.4 =
* Add max width setting to Container block.

= 1.2.3 =
* Add Container Block.
* Fix toolbar focus bug on Accordion Block.

= 1.2.2 =
* Add blocks to a custom Atomic Blocks category in the block inserter.
* Clean up markup and remove unnecessary code.
* Add inline toolbar to text area on relevant blocks.

= 1.2.1 =
* Update blocks to work with Gutenberg 3.1.0.

= 1.2.0 =
* Fix fatal error in last update.

= 1.1.9 =
* Add Post Grid Block.
* Add improvements for Gutenberg 3.0.
* Clean up existing blocks.

= 1.1.8 =
* Improve margins for blocks in editor.
* Fix quirks in the drop cap block.

= 1.1.7 =
* Remove unnecessary isSelected from controls.
* Fix undefined post bug.
* Move components to wp.editor.
* Improve styles for URL input on button block.

= 1.1.6 =
* Rename array_social_icon_footer_script() to atomic_blocks_social_icon_footer_script().

= 1.1.5 =
* Improved the color palettes for changes that happened in Gutenberg 2.8.

= 1.1.4 =
* Add the sharing icons block.

= 1.1.3 =
* Replace props.focus with isSelected for Gutenberg 2.8.0.

= 1.1.2 =
* Refactor the CTA block.
* Refactor the Author Profile block.

= 1.1.1 =
* Improve Author Profile block to fix text focus and spacing.

= 1.1.0 =
* Add Call-To-Action Block.
* Improve wide and full-width styles.

= 1.0.9 =
* Define PanelBody to fix Drop Cap block error.

= 1.0.8 =
* Add FontAwesome font library back to Getting Started page.
* Add prefixes to Getting Started page styles to prevent conflicts.

= 1.0.7 =
* Improve Quick Start box on the Getting Started page.
* Fix issue with FontAwesome not loading on Getting Started page.

= 1.0.6 =
* Add PanelBody to inspector controls.
* Group social links together in Profile block.

= 1.0.5 =
* Fix the Button block to remove formatting issue.

= 1.0.4 =
* Fix the Accordion block bug where outputs don't match.

= 1.0.3 =
* Add the Accordion block.

= 1.0.2 =
* Add the Spacer & Divider block.

= 1.0.1 =
* Add the Customizable Button block.

= 1.0 =
* Initial release.

atomic-blocks's People

Contributors

atomicblocks avatar dannycooper avatar dependabot[bot] avatar johnstonphilip avatar kienstra avatar marksabbath avatar mikemcalister avatar mindctrl avatar nathanrice avatar nickcernis avatar pixolin avatar westonruter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atomic-blocks's Issues

Button not displaying consistently

To recreate, install the Twenty Nineteen theme, which is part of the WP 5.0 RC. When adding an Atomic Blocks button to a post or page, it displays the button without an underline on the link. However, when displayed on the front-end, the underline has been added.

Although I can't recreate this in other themes, I'm wondering if this is an Atomic Blocks issue, as I would have thought the plugin's own CSS should ensure consistency across back and front end.

If you believe this is a Twenty Nineteen issue, please let me know and I'll report it to the developers of that theme.

Thanks.

Container block: Different "variations"

@atomicblocks, @mikemcalister: If the container block can be styled differently by the theme,
what is the correct approach for allowing the user to select a variation of that container block?
Should the theme somehow add a variation selection field to the block controls?
Assigning CSS classes would be not optimal because the user cannot
select from a fixed set and there is no clear captioning or preview possible.

Profile block error due to spacing

After creating a page using the profile block, going back to edit it I get this error:

screenshot

It doesn't affect every block on the page, but if I save the page and the re-edit, more profile blocks get the same error.

The console displays an error message containing the actual and expected output. Here's a diff of the two outputs: https://www.diffchecker.com/0wygDzGZ

It appears the issue relates to white space being added to the content by WP.

If I click "Edit as HTML" I get an unknown error (screenshot). If I click "Convert to Blocks" it changes the content to image and text blocks.

Regenerate POT file

Once #25 is merged and right before we tag 1.3.7, we need to regenerate the pot file so it includes all the strings.

[bug] Blocks not appear in gutenberg editor, console error InspectorControls

When I activated plugin on clean install of Wordpress blocks not appear in Gutenberg editor and I can see error in devtools console from blocks.build.js?ver=1542790736:formatted:13012
Uncaught TypeError: Cannot read property 'InspectorControls' of undefined

Gutenberg Version 4.5.1
Atomic Blocks Version 1.3.8
Wordpress Version 4.9.8
nginx/1.4.6 (Ubuntu 14.04)
PHP 7.0.3

h2 on Testimonial

Research the use of the h2 tag in the name in the testimonial block.

Gutenberg error when opening style selection

When opening the style selection (accordion in sidebar) for the AB Container block,
Gutenberg editor crashes and displays an error popup. Error message:

TypeError: Cannot read property 'innerBlocks' of null
    at t.value ([...]/app/plugins/gutenberg/build/editor/index.js?ver=1550716684:50:144165)
    at commitLifeCycles ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:16085:22)
    at commitAllLifeCycles ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:17386:7)
    at HTMLUnknownElement.callCallback ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:143:14)
    at Object.invokeGuardedCallbackDev ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:193:16)
    at invokeGuardedCallback ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:250:31)
    at commitRoot ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:17582:7)
    at completeRoot ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:19036:3)
    at performWorkOnRoot ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:18965:9)
    at performWork ([...]/app/plugins/gutenberg/vendor/react-dom.60482cc7.js:18873:7)

Two styles have been added to the AB Container block by theme (Border and Empty):

wp.domReady( () => {

  wp.blocks.registerBlockStyle( 'atomic-blocks/ab-container', {
    name: 'border',
    label: 'Border',
    isDefault: true,
  } );

  wp.blocks.registerBlockStyle( 'atomic-blocks/ab-container', {
    name: 'empty',
    label: 'Empty',
  } );

} );

Allow profile box block to use Gravatar

So many people use a gravatar to keep their profile pic up to date across all the websites where they have profiles. I would imagine people would appreciate being able to use their gravatar in the profile block so their profile pic in the block matches the one used in, say, their comments ... or their profile in the WP dashboard.

Sharing Icon Conflict with Elementor

When I activate the plugin it breaks Elementor Pro's "Share Buttons" icons for social services, but not email or others that are not services.

Before the Atomic Blocks plugin:
screen shot 2018-10-17 at 8 59 09 am

After activating Atomic Blocks:
screen shot 2018-10-17 at 10 46 34 am

To reproduce:

  1. Create a page with Elementor Pro "Share Buttons" and confirm they are showing.
  2. Install and activate Atomic Blocks

Improve dev tooling configuration

Right now things aren't ideal for multiple devs working in parallel. Since scripts and styles are always compiled down to a single file, even during dev, it's next to impossible to work in parallel due to merge conflicts.

At a minimum we need to compile individual block scripts and styles to separate files and load those when SCRIPT_DEBUG and/or WP_DEBUG is true. Then we can combine them prior to release using the build tools.

  • phpcs
  • break out of create-guten-block
  • transpile and load block JS/CSS files separately in debug mode
  • remove bundled scripts from this repo and only deliver them in releases

Disable unneeded CSS

Do I really have to overwrite colors and fonts for atomic blocks or is there a way to remove unwanted CSS.

Colors and font-sizes should be defined by the theme and not by a plugin.

I think you're aware of this already as it's similar to issue38

Post Grid block feature additions

Improvements and additions to the Post Grid block for 1.5.4.

  • Number of posts to offset
  • Excerpt limit
  • Exclude sticky posts
  • A11y improvements
  • Add post class and ID
  • Refactor Inspector code
  • Add post/page selector
  • Match Genesis markup
  • Add Post Grid section title

Testimonial block: Removing person's title doesn't work as expected

This doesn't seem to happen every time, and I've been unable to reproduce reliably, but the gist of it is laid out below. I think it could be related to how weird it is to get back into the placeholder field/area once you've removed the title and poking around all the keys is causing something funky under the hood, but I could be way off base. Haven't dug into the code at all.

Removing the title results in the letter F or lowercase f being saved in the title.

Steps to reproduce:

  • Add Testimonial block
  • Add some text
  • Add a name
  • Add a title
  • Save page
  • Edit title and remove it
  • Save page

Visually it looks like it was removed, but viewing it on the front end shows an F where the title goes. Editing the page again in the admin will reveal the F. If you try to remove it and save, you'll see it again appears to be removed but on the front end it's still there and if you refresh the admin edit page you'll see it reappear.

Atomic Blocks: 1.3.6
Gutenberg: 4.1.1
WP: 4.9.8

Convert CTA block to use InnerBlocks

The CTA block currently uses static title, text, and button components. These can be replaced with the InnerBlocks component and the content can be migrated to individual blocks within there.

Update MediaUpload instances

wp.editor.MediaUpload will be removed in 4.2. Use allowedTypes property containing an array with the allowedTypes or do not pass any property if all types are allowed instead.

AB Accordion <summary> should add a element before the text

So far, this library has been great! Thanks for all the hard work!
I opened this issue but it might not be an 'issue' and might be more of a question.

Problem

I am trying to style the accordion <summary> element using word press as a headless CMS.

However, when trying to apply specific styles to the <summary> element "text-decoration: underline" it doesn't style the UI even though its in the CSS. This seems like a limitation of the <summary> element.

Solution

A solution to this, would be to make a pull request to add an HTML element between the text and the <summary> element. I see your demo for the accordion has a <p> element inside the <summary> element.

Question How'd that <p> tag get in there?

  • Was it from editing the HTML in WordPress for this accordion block? Cause if I do that, I get this validation issue: This block contains unexpected or invalid content. Having raw HTML in WordPress isn't a great solution for this anyways.

Anyways, I am just a little confused how the demo for the accordion has <p> tags inside the <summary> and how I can get that. Preferably without turning my entire accordion into HTML.

A11y - Block Post Grid

Just an A11y tip/request -

The Post Grid Block pulls the featured image; if alt text is set on the image correctly, the alt text should be describing the image rather than the purpose of the link.

The Alt attribute in this case should be set to alt or alt="" so it's null this removes the image from consideration by assistive technologies, then the post title should be added to the link so assistive technologies can describe the link.

The Read More links need the page title appended to make them unique as well. In the below I added screen reader only span to hide the additional text. Screen reader will now read - whatever "read more text" set by the block, then append "about + page-title" an assistive technology user will be able to select a unique post from all of the posts on the page and hear in my example "Continue reading about hello world"

This is also required to pass google lighthouse audit for accessibility 100%.

if ( isset( $attributes['displayPostLink'] ) && $attributes['displayPostLink'] ) { $list_items_markup .= sprintf( '<p><a class="ab-block-post-grid-link ab-text-link" href="%1$s" rel="bookmark">%2$s <span class="sr-only">about %3$s</span></a></p>', esc_url( get_permalink( $post_id ) ), esc_html( $attributes['readMoreText'] ), esc_html( $title ) ); }

Overly opinionated AB Container block

Can there be a way to turn off the automatically populated inline-styling (i.e. all the padding, margin, max-width, and background color). It feels like those should only result in inline-styling if the user sets them versus automatically being set by default. This really conflicts with any theme styling and forces the use of !important because no level of specificity will trump inline styling.

ab-container block fails validation after changing alignment

Hi!

I noticed when playing around with the container block that changing alignment to not be centered causes a validation issue. If I find why, I can make a PR. :)

Using Version 1.4.2 . Here's the error:

Expected:

<div style="background-color:#fff;padding-left:5%;padding-right:5%;padding-bottom:20%;padding-top:20%;margin-top:0%;margin-bottom:0%" class="wp-block-atomic-blocks-ab-container alignundefined aligncenter ab-block-container"><div class="ab-container-inside"><div class="ab-container-image-wrap"><img class="ab-container-image has-background-dim-100 has-background-dim" src="http://antpb.staging.wpengine.com/wp-content/uploads/2018/06/Screenshot-2018-04-05-22.29.08.png" alt=""/></div><div class="ab-container-content" style="max-width:1600px"></div></div></div>

Actual:

<div style="background-color:#fff;padding-left:5%;padding-right:5%;padding-bottom:20%;padding-top:20%;margin-top:0%;margin-bottom:0%" class="wp-block-atomic-blocks-ab-container alignundefined ab-block-container"><div class="ab-container-inside"><div class="ab-container-image-wrap"><img class="ab-container-image has-background-dim-100 has-background-dim" src="http://antpb.staging.wpengine.com/wp-content/uploads/2018/06/Screenshot-2018-04-05-22.29.08.png" alt=""/></div><div class="ab-container-content" style="max-width:1600px"></div></div></div>
(anonymous) @ index.js?ver=1543977903:2

Update placeholder behavior

Gutenberg had some quirks with clearing placeholder text. Test to see if those are fixed and update the blocks accordingly.

Improve handling of email field in profile block

As reported here, if you enter an email address in the Email URL field, it gets created as a web URL like site.com/[email protected].

It requires you enter the email in this format to work:
mailto:[email protected]

That's not obvious or terribly friendly. We should look at detecting if a regular email is entered without the mailto prefix, and ensure the link is saved/output appropriately.

AB Container Block - can't set a 0 margin bottom

Using a AB Container Block and setting the margin-bottom to 0 using the block editor, means you end up with a 1.2em bottom margin.

This is because margin-bottom:0; is not added to the block inline styles and therefore it inherits margin: 0 0 1.2em 0; from the blocks.styles.build.css.

Setting the margin-bottom to 0.5%, for example does add the inline style and overrides this, but if you want 0 it does not work.

Last update 1.1.9 Removed Plugin Required Dist File Folder from WPORG Plugin Repo

I was curious enough to try the atomic blocks plugin since I'm also getting involved in Gutenberg development, but an hour ago when I installed the plugin from wporg's plugin repo it threw me fatal error for missing files, I checked the plugin's trac repo and it turns out your last update has mistakenly removed the dist file folder from the plugin.
I thought you might care and solve it out before any user hits the issue. 😄

AB CTA Block: white screen on page editor

When the Atomic Blocks plugin is activated on one of my sites, any page that's using the AB CTA block can't be edited because the editor page is just a blank white screen. The only change that has happened on this site before I noticed this issue was the update to WP 5.1.

Here's what I see on the editor page (which shows the blank white screen at the top):

atomic-blocks-bug

I also tried using this block on a test site that is using WP 5.1 and has no other active plugins. Here's what I see when entering a sample title, description, and button text:

image

And if I click the Resolve button, the suggested fix matches the original content (there are no changes suggested).

Edit to add: I'm using Atomic Blocks 1.5.2 on both sites.

Change default button colors

Hi there,
I am working on a client project and looking forward for the 5.0 update I already installed Gutenberg and activated your awesome plugin.

I've declared few default colors but I do not see them when I use your blocks, especially the button ones.

There is a way that will let me override your default colours or I have to force the user to use the colour picker?

Thank you in advance,
Andrea

Styles repeated multiple times in compiled stylesheets

PanelBody throwing undefined error

On the Profile inspector.js When grouping TextControl fields into the PanelBody tag, once you click to open the panel, an error is thrown:

Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

Temporarily removed the PanelBody tag as a fix, but would like to regroup these into a panel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.