Skip to content

Commit

Permalink
fix elseH1 on title not applying date filter
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Mar 4, 2022
1 parent 3762faf commit 1792d04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/DependencyInjection/Configuration.php
Expand Up @@ -40,7 +40,7 @@ final class Configuration implements ConfigurationInterface
public const DEFAULT_FILTERS = [
'main_content' => 'twig,date,email,encryptedLink,htmlEncryptedLink,image,phoneNumber,punctuation,markdown,mainContentSplitter,extended',
'name' => 'twig,date,name,extended',
'title' => 'twig,date,elseH1,extended',
'title' => 'elseH1,twig,date,extended',
'string' => 'twig,date,email,encryptedLink,phoneNumber,extended',
];

Expand Down
5 changes: 3 additions & 2 deletions packages/docs/content/extension/admin-block-editor.md
@@ -1,5 +1,5 @@
---
title: "Admin block editor to supercharge the default markdown admin with a rich text editor"
title: 'Admin block editor to supercharge the default markdown admin with a rich text editor'
h1: Admin Block Editor
toc: true
parent: extensions
Expand Down Expand Up @@ -39,7 +39,7 @@ admin_block_editor_disable_listener: false
# permit to use all the blocks pre-configured in this extension
admin_block_editor_blocks: \Pushword\AdminBlockEditor\Block\DefaultBlock::AVAILABLE_BLOCKS

admin_block_editor_type_to_prose: ["paragraph", "image", "list", "blockquote", "code"] # leave empty if you don't want a prose container around this blocks
admin_block_editor_type_to_prose: ['paragraph', 'image', 'list', 'blockquote', 'code'] # leave empty if you don't want a prose container around this blocks
```

### Disable Listener and use filter
Expand Down Expand Up @@ -99,6 +99,7 @@ admin_block_editor_blocks: [
The search input permit to perfom action like :
- `CHILDREN` will search for children page
- `parent_children` will search for children page from the parent page
- `comment:HELLO-YOU` will search in pages's main content for `<!--HELLO-YOU-->` (case sensitive)
- `slug:hellow-world` will search for page with slug being exactly `tagada`
- `slug:hellow-world OR slug:hello-me` ... or operator
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/content/roadmap.md
Expand Up @@ -8,7 +8,7 @@ parent: contribute
## BugFix && To finish

- Implement ESlint

- https://github.com/jolicode/JoliTypo
- [Core] Rewrite MediaTrait/MediaSlugTrait and MediaListener (tag reference before starting refactoring 0.0.859)n

- [AdminBlockEditor] Add Layout https://github.com/hata6502/editorjs-layout#readme
Expand Down

0 comments on commit 1792d04

Please sign in to comment.