Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

linkesch/medium-editor-mobile-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile support for MediumEditor

This is a simple plugin that adds mobile support to MediumEditor (a clone of medium.com WYSIWYG editor). According to an issue #81 in MediumEditor there is no plan to add mobile support to the editor any time soon.

This plugin is a work in progress. Currently it solves an issue when after selecting text (longer touch), editor's toolbar isn't visible.

The plugin was tested in Chrome 39 in Android and PhantomJS.

Download

Bower (recommended): bower install medium-editor-mobile-plugin --save

Manual: Download the latest release as ZIP

Usage

<script src="bower_components/medium-editor-mobile-plugin/dist/medium-editor-mobile-plugin.min.js"></script>

That's it. No need for initialization, just make sure the script is placed after MediumEditor's script and before the editor is called for the first time.

Author

Pavel Linkesch | @linkesch | http://www.linkesch.sk