scribe-plugin-toolbar

WebJar for scribe-plugin-toolbar

License

License

Apache 2.0
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

scribe-plugin-toolbar
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

scribe-plugin-toolbar
WebJar for scribe-plugin-toolbar
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/guardian/scribe-plugin-toolbar

Download scribe-plugin-toolbar

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/scribe-plugin-toolbar/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>scribe-plugin-toolbar</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/scribe-plugin-toolbar/
implementation 'org.webjars.bower:scribe-plugin-toolbar:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.bower/scribe-plugin-toolbar/
implementation ("org.webjars.bower:scribe-plugin-toolbar:1.0.0")
'org.webjars.bower:scribe-plugin-toolbar:jar:1.0.0'
<dependency org="org.webjars.bower" name="scribe-plugin-toolbar" rev="1.0.0">
  <artifact name="scribe-plugin-toolbar" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='scribe-plugin-toolbar', version='1.0.0')
)
libraryDependencies += "org.webjars.bower" % "scribe-plugin-toolbar" % "1.0.0"
[org.webjars.bower/scribe-plugin-toolbar "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

scribe-plugin-toolbar Build Status

A toolbar of buttons and shortcuts for Scribe

Installation

bower install scribe-plugin-toolbar

Alternatively, you can access the distribution files through GitHub releases.

Usage Example

scribe-plugin-toolbar is an AMD module:

require(['scribe', 'scribe-plugin-toolbar'], function (Scribe, scribePluginToolbar) {
  var scribeElement = document.querySelector('.scribe');
  // Create an instance of Scribe
  var scribe = new Scribe(scribeElement);

  var toolbarElement = document.querySelector('.toolbar');
  scribe.use(scribePluginToolbar(toolbarElement));
});

For more documentation see the project wiki

Options

Set the shared key to true to enable the shared toolbar functionality.

Development

After cloning the repo:

  • npm install
  • bower install
  • npm run test

If the tests run green then you are good to start developing

org.webjars.bower

The Guardian

The source code of the world's leading liberal voice

Versions

Version
1.0.0