The Gutenberg Bootstrap Blocks module provides new Bootstrap blocks to Gutenberg editor.

Requirements

Installation

Configuration

No configuration needed.
See Drupal Gutenberg Editor documentation to enable Gutenberg Experience on a specific content type : https://www.drupal.org/docs/8/modules/gutenberg/installation-and-upgrades

Project Link

https://www.drupal.org/project/gutenberg_bs_blocks

Git instructions

git clone --branch 1.0.x https://git.drupalcode.org/project/gutenberg_bs_blocks.git

Comments

ShiniWolf created an issue. See original summary.

vigneshvalliappan’s picture

Status: Needs review » Needs work

Please implement hook_help().

kevin-philippe’s picture

Status: Needs work » Needs review

I've added the hook_help implementation.

drupal-ramesh’s picture

Hi kevin-philippe
All dependencies must be prefixed with the project name.Dependencies on Drupal core or contrib modules should be namespaced in the format {project}:{module}, where {project} is the project name as it appears in the Drupal.org URL (e.g. drupal.org/project/views) and {module} is the module's machine name.

kevin-philippe’s picture

Hi drupal.ramesh,
I've fixed the dependencies.

pinesh’s picture

Thank you for the contribution!

Please fix the Drupal coding standards.

FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\block-edit.css
-------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------
 1 | WARNING | File appears to be minified and cannot be processed
-------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\block-view.css
-------------------------------------------------------------------------------------------
FOUND 32 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 1 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
 1 | ERROR | [x] Opening brace should be the last content on the line
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [ ] Style definitions must end with a semicolon
 1 | ERROR | [x] Closing brace of class definition must be on new line
 1 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
 1 | ERROR | [x] Opening brace should be the last content on the line
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [ ] Style definitions must end with a semicolon
 1 | ERROR | [x] Expected 1 newline at end of file; 2 found
 1 | ERROR | [x] Closing brace of class definition must be on new line
 2 | ERROR | [x] Additional whitespace found at end of file
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 30 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\bootstrap.css
------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------
 1 | WARNING | File appears to be minified and cannot be processed
------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\column-edit.css
--------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
 1 | WARNING | File appears to be minified and cannot be processed
--------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\container-edit.css
-----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
 1 | WARNING | File appears to be minified and cannot be processed
-----------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\container-view.css
-----------------------------------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 1 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
 1 | ERROR | [x] Opening brace should be the last content on the line
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [ ] Style definitions must end with a semicolon
 1 | ERROR | [x] Closing brace of class definition must be on new line
 1 | ERROR | [x] Multiple selectors should each be on a single line
 1 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
 1 | ERROR | [x] Opening brace should be the last content on the line
 1 | ERROR | [x] Each style definition must be on a line by itself
 1 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
 1 | ERROR | [ ] Style definitions must end with a semicolon
 1 | ERROR | [x] Expected 1 newline at end of file; 2 found
 1 | ERROR | [x] Closing brace of class definition must be on new line
 2 | ERROR | [x] Additional whitespace found at end of file
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\build\css\row-edit.css
-----------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
 1 | WARNING | File appears to be minified and cannot be processed
-----------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\gutenberg_bs_blocks.libraries.yml
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
 58 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\gutenberg_bs_blocks.module
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\drupal_commrence\modules\gutenberg_bs_blocks\README.md
----------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------------
  5 | WARNING | Line exceeds 80 characters; contains 116 characters
 23 | WARNING | Line exceeds 80 characters; contains 175 characters
----------------------------------------------------------------------------

Time: 317ms; Memory: 8MB

pinesh’s picture

Status: Needs review » Needs work
kevin-philippe’s picture

Pinesh Kumar, thanks for review.

Which command should I run to get this result?
I'm trying phpcs --standard=Drupal --ignore=node_modules web/modules/contrib/gutenberg_bs_blocks/ but I have errors for React tags :/

pinesh’s picture

Hello Kévin Philippe,
Update Comment:-

Please Try With this.

$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml 
 gutenberg_bs_blocks
kevin-philippe’s picture

Status: Needs work » Needs review

I've fixed Drupal coding standards but the "build" directory is generated and minified with webpack. Should I disable webpack minification ?

avpaderno’s picture

avpaderno’s picture

Priority: Normal » Major
Issue tags: -PAreview: project created less than ten days ago

I am changing priority as per https://www.drupal.org/node/539608.

avpaderno’s picture

Priority: Major » Critical
avpaderno’s picture

Assigned: Unassigned » avpaderno
Priority: Critical » Normal
Status: Needs review » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.