Skip to content

Commit 26fd8b7

Browse files
committed
feat (gallery) : make classic gallery optionnal
1 parent e91a980 commit 26fd8b7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/scss/editor-style.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
// Wordpress
2121
@import "wp/img";
22-
@import "wp/gallery";
22+
//@import "wp/gallery"; Enable if Gutenberg is not used
2323
@import "wp/wysiwyg";
2424
@import "wp/gutenberg";
2525

@@ -39,12 +39,14 @@
3939
}
4040
}
4141

42+
// Render Post/Page Title as FrontEnd view
4243
.editor-post-title__block {
4344
.editor-post-title__input {
4445
font-family: $customfont-2;
4546
}
4647
}
4748

49+
// Exact style between BO/FO for lists
4850
.block-library-list {
4951
ul {
5052
@include wysiwyg__list();

src/scss/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
@import "patterns/hero";
4242
@import "patterns/searchform";
4343

44-
//Wordpress
44+
// Wordpress
4545
@import "wp/wpforms";
4646
@import "wp/img";
47-
@import "wp/gallery";
47+
//@import "wp/gallery"; Enable if Gutenberg is not used
4848
@import "wp/wysiwyg";
4949
@import "wp/gutenberg";
5050

0 commit comments

Comments
 (0)