Skip to content

Commit

Permalink
refactor(idecap-cms-widget-richtext): implementation of platejs.org f…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hephaistos_DE committed Dec 1, 2024
1 parent 022dbe5 commit 15a674e
Show file tree
Hide file tree
Showing 68 changed files with 13,724 additions and 8,364 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module.exports = {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
exports: {},
},
'import/core-modules': [...packages, 'decap-cms-app/dist/esm'],
},
Expand Down
4 changes: 3 additions & 1 deletion dev-test/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ collections: # A list of collections the CMS should be able to edit
required: false
tagname: ''

- { label: 'Body', name: 'body', widget: 'markdown', hint: 'Main content goes here.' }
- { label: 'Body', name: 'body', widget: 'richtext', hint: 'Main content goes here.' }
- { label: 'Body', name: 'bodyold', widget: 'markdown', hint: 'Main content goes here.' }
- { label: 'Body', name: 'bodyold2', widget: 'markdown', hint: 'Main content goes here 2.' }

- name: 'restaurants' # Used in routes, ie.: /admin/collections/:slug/edit
label: 'Restaurants' # Used in the UI
Expand Down
Loading

0 comments on commit 15a674e

Please sign in to comment.