scribe-plugin-placeholder

0.1.0 • Public • Published

Scribe Placeholder Plugin

Command to display placeholder text in scribe.

Usage

require('css!scribe-plugin-placeholder');
 
var placeholderPlugin = require('scribe-plugin-placeholder');
 
// Text to show as placeholder.
var placeholder = 'Enter content...';
 
// DOM Element containing the scribe editor instance.
var container = document.querySelector('.scribe-editor-container');
 
scribe.use(placeholderPlugin(placeholder, container));

Installation

bower install scribe-plugin-placeholder

Contribute

We will update/maintain this plugin as we update it internally to meet our needs.

See Using and Contributing to Open Source at Coursera on how we do opensource at Coursera.

Readme

Keywords

none

Package Sidebar

Install

npm i scribe-plugin-placeholder

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • jnwng