You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-44Lines changed: 13 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,45 +1,24 @@
1
1
# GrapesJS Parser PostCSS
2
2
3
+
This plugin enables custom CSS parser via [PostCSS](https://github.com/postcss/postcss). If you import templates from HTML/CSS or embed custom codes (eg. by using [grapesjs-custom-code](https://github.com/artf/grapesjs-custom-code) plugin) you definitely need to use this one to avoid issues with styles, [check here why](http://grapesjs.com/docs/guides/Custom-CSS-parser.html#cssom-results-are-inconsistent).
3
4
4
-
<span><ahref="https://david-dm.org/artf/grapesjs-plugin-boilerplate#info=devDependencies"title="View the status of this project's development dependencies on DavidDM"><imgsrc="https://img.shields.io/david/dev/artf/grapesjs-plugin-boilerplate.svg"alt="Dev Dependency Status" /></a></span>
5
+
> Requires GrapesJS v0.14.33 or higher
5
6
6
-
This boilerplate helps you quickly start a production ready plugin for GrapesJS. If you don't know from where to start, check this guide [Creating plugins](https://grapesjs.com/docs/modules/Plugins.html). Sections below are also used as boilerplate for your README, follow these steps below
7
-
8
-
### Usage
9
-
1. Clone this repository `git clone https://github.com/artf/grapesjs-plugin-boilerplate.git YOUR-PLUGIN-NAME`
10
-
1. Replace in all files `YOUR-PLUGIN-NAME` and `grapesjs-plugin-boilerplate` with your plugin name.
11
-
**The name of your plugin depends on the `name` key in your `package.json`**
12
-
1. Update all the data in `package.json`
13
-
1. Install dependencies `npm i` and run the local server `npm start`
14
-
1. Start creating your plugin from `src/index.js`
15
-
1. Show some gif/demo if possible
16
-
1. Update README
17
-
1. When you're ready, build your source with `npm run build`
18
-
1. Publish
19
7
20
8
21
9
22
10
23
11
## Summary
24
12
25
-
* Plugin name: `YOUR-PLUGIN-NAME`
26
-
* Components
27
-
*`new-component1`
28
-
*`new-component2`
29
-
* Blocks
30
-
*`new-block1`
31
-
*`new-block1`
32
-
...
13
+
* Plugin name: `grapesjs-parser-postcss`
33
14
34
15
35
16
36
17
37
18
38
19
## Options
39
20
40
-
|Option|Description|Default|
41
-
|-|-|-
42
-
|`option1`|Description option|`default value`|
21
+
This plugin has no options
43
22
44
23
45
24
@@ -48,11 +27,11 @@ This boilerplate helps you quickly start a production ready plugin for GrapesJS.
0 commit comments