GithubHelp home page GithubHelp logo

redactor-plugins's Introduction

Redactor Plugins

http://imperavi.com/redactor/

Collection of plugins developed for Redactor, a WYSIWYG rich-text editor made by @imperavi.

Feel free to contribute to this repository.

  • clean_text.js - Removes formatting from selected text
  • fontcolor.js - Sets the text color and text background color
  • fontfamily.js - Changes the font family
  • fontsize.js - Changes the font size specified in pixels
  • blockquotebreak.js - Redactor plugin to break blockquote like gmail
  • fullscreen.js - The "fullscreen" mode is now a plugin on the toolbar to toggle full-window editing on and off
  • emoticon.js - An emoticon plugin for Redactor WYSIWYG editor

redactor-plugins's People

Contributors

epokk avatar johnsardine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

redactor-plugins's Issues

Not functional under Redactor version 8.1.1

This plugin does not seem to be working under version 8.1.1 (Oct 18th) of Redactor. I ran a quick test, adding console.log(html); immediately before the redactor.insertHtml(html); statement and it is correctly getting the selected html and cleaning it, however the insertHtml() call does not seem to modify the selection in the editor.

This is happening when using the editor in both textarea mode, and contenteditable element mode.

Prevent multiple instances of span

By default, the font size plugin adds a new span around the selected text everytime you change the font size. Likewise when you select to remove the font size, it will only remove the latest added span.

Is there no way to change this so that if a span already exists, the font-size value is simply changed on that span rather than creating a new one as it just leads to messy html?

Font Color plugin is not working

I tried to install fontcolor plugin, but It doesn't show anything, the code is given below:

<script type="text/javascript" src="/assets/editor/plugins/fontcolor.js"></script>

$('.tc_editable').redactor({
    plugins: ['fontcolor']
)};

Basic icons load like B, I, Indentation, but It's not loading fontcolor.

Icon font download

I would like the font to be available for download, I have no clue which one it is and I would like to use it in my designs (cheatsheet would be nice as well)

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.