Skip to content

Commit

Permalink
Merge pull request #519 from lblod/GN-4406-support-root-level-articles
Browse files Browse the repository at this point in the history
GN-4406: add support for root level articles to regulatory statement documents
  • Loading branch information
abeforgit authored Jul 5, 2023
2 parents ff7b0bb + 6dc6f12 commit 6f9d596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/regulatory-statements/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ export default class RegulatoryStatementsRoute extends Controller {
schema = new Schema({
nodes: {
doc: {
content: 'table_of_contents? ((chapter|block)+|(title|block)+)',
content:
'table_of_contents? ((chapter|block)+|(title|block)+|(article|block)+)',
},
paragraph,
table_of_contents: table_of_contents(this.config.tableOfContents),
Expand Down

0 comments on commit 6f9d596

Please sign in to comment.