grapesjs-parser-postcss

WebJar for grapesjs-parser-postcss

Лицензия

Лицензия

BSD 3-Clause
Категории

Категории

JavaScript Языки программирования
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

grapesjs-parser-postcss
Последняя версия

Последняя версия

0.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

grapesjs-parser-postcss
WebJar for grapesjs-parser-postcss
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/artf/grapesjs-parser-postcss

Скачать grapesjs-parser-postcss

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/grapesjs-parser-postcss/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>grapesjs-parser-postcss</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/grapesjs-parser-postcss/
implementation 'org.webjars.npm:grapesjs-parser-postcss:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/grapesjs-parser-postcss/
implementation ("org.webjars.npm:grapesjs-parser-postcss:0.1.1")
'org.webjars.npm:grapesjs-parser-postcss:jar:0.1.1'
<dependency org="org.webjars.npm" name="grapesjs-parser-postcss" rev="0.1.1">
  <artifact name="grapesjs-parser-postcss" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='grapesjs-parser-postcss', version='0.1.1')
)
libraryDependencies += "org.webjars.npm" % "grapesjs-parser-postcss" % "0.1.1"
[org.webjars.npm/grapesjs-parser-postcss "0.1.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : postcss jar [7.0.2,8)

Модули Проекта

Данный проект не имеет модулей.

GrapesJS Parser PostCSS

This plugin enables custom CSS parser via PostCSS. If you import templates from HTML/CSS or embed custom codes (eg. by using grapesjs-custom-code plugin) you definitely need to use this one to avoid issues with styles, check here why.

Requires GrapesJS v0.14.33 or higher

Summary

  • Plugin name: grapesjs-parser-postcss

Options

This plugin has no options

Download

  • CDN
    • https://unpkg.com/grapesjs-parser-postcss
  • NPM
    • npm i grapesjs-parser-postcss
  • GIT
    • git clone https://github.com/artf/grapesjs-parser-postcss.git

Usage

Directly in the browser

<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-parser-postcss.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container : '#gjs',
      // ...
      plugins: ['grapesjs-parser-postcss'],
  });
</script>

Modern javascript

import grapesjs from 'grapesjs';
import parserPostCSS from 'grapesjs-parser-postcss';

const editor = grapesjs.init({
  container : '#gjs',
  // ...
  plugins: [parserPostCSS],
});

Development

Clone the repository

$ git clone https://github.com/artf/grapesjs-parser-postcss.git
$ cd grapesjs-parser-postcss

Install dependencies

$ npm i

Start the dev server

$ npm start

License

BSD 3-Clause

Версии библиотеки

Версия
0.1.1