Git Product home page Git Product logo

pagedown-bootstrap's Introduction

PageDown-Bootstrap

A jQuery plugin that dynamically generates a WYSIWYG editor for Markdown with integrated Twitter Bootstrap styling.

Requirements

Releases

1.0 - April 22, 2013

  • Initial release

1.1 - December 14, 2013

  • Moved to support Bootstrap 3.x
  • Changed to FontAwesome as the icon provider

Demo & Documentation

http://kevo.io/pagedown-bootstrap/

Thanks

pagedown-bootstrap's People

Contributors

fauxparse avatar greg-galbraith avatar kevinoconnor7 avatar programcsharp avatar pscheit avatar samwillis 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  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  avatar  avatar

pagedown-bootstrap's Issues

Hooks on the editor object

I'd really like to use this version of the pagedown editor, but I'm having trouble figuring out how to hook up to the editor's onPreviewRefresh event. The standard pagedown editor has the following example in the wiki:

editor.hooks.chain("onPreviewRefresh", function () {
    console.log("the preview has been updated");
});

However, I'm not sure how I'd do something similar using pagedown-bootstrap.
Any help is much appreciated!

Underscores are being replaced with <em> tags

Whenever I type in underscores only the first one shows properly the rest get converted to <em> tags

Here is my sample code

message
string
Content for the draft
required
param_ids
string
param 1 ids
optional
e.g.[ 1_2_3 ]
create_album
integer
Album ids
optional
Allowed values[0,1]

bootstrap.js dependency

AFAIK, the only thing using bootstrap.js is the tooltip.

It would be nice if a check could be done for the presence of bootstrap.js and enable/disable Bootstrap tooltip as required.

Uncaught TypeError: Cannot read property 'Converter' of undefined

I am trying to use this inside of a meteor app. I have my a whole new page to try and get a simple text area created using pagedown. I getting the error listed above on line 3474. The code where the error occurs is...

function () {
    var output, Converter;
    if (typeof exports === "object" && typeof require === "function") { // we're in a CommonJS (e.g. Node.js) module
        output = exports;
        Converter = require("./Markdown.Converter").Converter;
    } else {
        output = window.Markdown;
        Converter = output.Converter;
    }

Any idea what could be causing this? This error happens without even calling pagedown code.

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.