Skip to content

filipproch/medium-editor-element

Repository files navigation

<medium-editor-element>

Polymer element for https://github.com/yabwe/medium-editor

Usage

Basic example, HTML output

<medium-editor
    id="myEditor"
    value="{{value}}">
</medium-editor>

<pre>[[value]]</pre>

Markdown output

<medium-editor
    id="myEditor"
    output="markdown"
    value="{{value}}">
</medium-editor>

<pre>[[value]]</pre>

Development

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your application locally.

View element locally

$ polymer serve

Running Tests

$ polymer test