Simplemde-markdown-editor: How to integrate with webpack?

Created on 9 Aug 2017  路  4Comments  路  Source: sparksuite/simplemde-markdown-editor

What i did:

import SimpleMDE  from 'simplemde';

new SimpleMDE($('#demo')[0]);

What happed:

Editor can be rendered, but it seems lost the css style.

Most helpful comment

@slince I know you asked almost a month ago, but you can include the css by importing the CSS for SimpleMDE directly, as shown below. Works like a charm.

import SimpleMDE from 'simplemde';
import 'simplemde/dist/simplemde.min.css';

...

All 4 comments

@slince I know you asked almost a month ago, but you can include the css by importing the CSS for SimpleMDE directly, as shown below. Works like a charm.

import SimpleMDE from 'simplemde';
import 'simplemde/dist/simplemde.min.css';

...

@Tribex Thanks, i have done like that. The developer seems very busy...

helped me!

@xwchris 鎸夌収浜屾ゼ璇寸殑鍋氬氨鍙互浜嗭紝涓诲姩寮曞叆css鏂囦欢

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abr4xas picture abr4xas  路  3Comments

jasonlewis picture jasonlewis  路  4Comments

andrelgarcia picture andrelgarcia  路  4Comments

mbeckenbach picture mbeckenbach  路  4Comments

pranavstark picture pranavstark  路  3Comments