https://github.com/Ys-sudo/netlify-cms-markdown-columns-widget
Extends the netlify-cms-widget-markdown with 3 additional columns modules: 2 columns, 3 columns and 4 columns layouts.
https://github.com/Ys-sudo/netlify-cms-markdown-columns-widget
javascript markdown netlify-cms netlifycms widget
Last synced: 25 days ago
JSON representation
Extends the netlify-cms-widget-markdown with 3 additional columns modules: 2 columns, 3 columns and 4 columns layouts.
- Host: GitHub
- URL: https://github.com/Ys-sudo/netlify-cms-markdown-columns-widget
- Owner: Ys-sudo
- Created: 2022-12-13T05:11:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T13:04:39.000Z (over 2 years ago)
- Last Synced: 2025-02-20T18:49:55.638Z (3 months ago)
- Topics: javascript, markdown, netlify-cms, netlifycms, widget
- Language: JavaScript
- Homepage:
- Size: 60.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-decap-cms - netlify-cms-markdown-columns-widget - Extends the netlify-cms-widget-markdown with 3 additional columns modules: 2 columns, 3 columns and 4 columns layouts. (Custom Widget)
README
# netlify-cms-markdown-columns-widget

## Extends the netlify-cms-widget-markdown with 3 additional columns modules: 2 columns, 3 columns and 4 columns layouts.
### The columns width can be modified by selecting the according classes from the netlify UI.
#### The classes are based on the [bulma 12 columns system](https://bulma.io/documentation/columns/sizes/#12-columns-system).
##### To see the results as colums **You need to either import bulma globally to both the backend and frontend of your site**, or write the **columns** class and the according **is-1, is-2,...,is-12** classes yourself.#### How to implement?
To register the widget, add the ```editor_components:['image','code-block','columns-layout','columns-layout-3','columns-layout-4']```, to every markdown widget in your ```config.yaml``` file. Then add the ```CMS.registerEditorComponent({...})``` modules to your ```cms.js``` file. If you have bulma imported or custom classes made for the columns then you are all set and done!
If you have any problems adding the modules to netlify cms follow the [official guide](https://www.netlifycms.org/docs/custom-widgets/#registereditorcomponent).