Code Monkey home page Code Monkey logo

wiki-editor's Introduction

Master Develop

Wiki-Editor

A React/Slate WYSIWYG editor

Current Plugins

Alignment

Supports align: left|right|justify and float: left|right

Anchor

Allows editing of a tags via Markdown syntax: [text](href). Whenever the cursor enters a hyperlink, it will be automatically converted to Markdown. As soon as the cursor leaves this Markdown, it automatically converts back into a hyperlink.

AutoReplacers

Supports case-insensitive, automatic conversion of:

  • (c) to ©
  • (r) to ®
  • (tm) to ™
  • -- to <hr /> (2+ - on a single line, converted on pressing Enter at the end of the line)
  • #{1,6} to <h1> through <h6> (start a new line with #'s, and press Space)

Header

Supports a toolbar dropdown menu for converting the current line from <p> to <h1> to <h6>

HorizontalRule

Supports keyboard navigation around <hr /> tags

Paragraph

Supports basic <p> tag rendering, compatible with the Alignment plugin

Table

Provides keyboard navigation, toolbar support, and hotkeys for editing <table>s and their children. All hotkeys use ⌘+Shift and Ctrl+Shift plus the keystroke below.

  • Add Table
  • Clear Cell Contents: Hotkey+Delete
  • Insert Column to Left: Hotkey+Left
  • Insert Column to Right: Hotkey+Right
  • Insert Row Above: Hotkey+Up
  • Insert Row Below: Hotkey+Down
  • Toggle TD/TH: Hotkey+H
  • Delete Table

TextDecorators

  • Toggle Bold: Ctrl or + b
  • Toggle Italic: Ctrl or + i
  • Toggle Strike: Ctrl or + d
  • Toggle Underline: Ctrl or + u
  • Toggle Superscript: Ctrl or + Up
  • Toggle Subscript: Ctrl or + Down

wiki-editor's People

Contributors

troyalford avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zyongbo

wiki-editor's Issues

Extract Utility functions

Pull Style handling out into a set of Utility functions accessible by all Plugins

Also:

  • isWithinTable
  • Flow and other small utils

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.