Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1011 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 1011 Bytes

Easywyg content styles

Create your custom content styles with this boilerplate.

These styles are required in order to view the content in the Easywyg editor corresponds to the appearance of content on your website.

Get the files:

$ git clone https://github.com/easywyg/content-styles.git

Install the stuff

$ npm install --save-dev

Then run

$ gulp

Open browser: http://localhost:9000/

After that, rework styles for your requirements (see css/content_styles.css)

Then you need to require result .css file to Easywyg editor and also to your website layout. Put this file somewhere, in order for it to available by URL.

Then copy this URL and add it to your website settings in Dashboard.

Our robot will get this css file, parse it and then, build styles dropdown for you. You should see something like that:

Easywyg styles dropdown

Questions?

Write us a letter [email protected]