Giter VIP home page Giter VIP logo

nb-note-board's Introduction

NB' Note-Board version 1.12

Prototype

This library is simple HTML5 web text editor using the Contenteditable attribute.

  • I'm sorry, Image inserting is not supported..๐Ÿ˜…
  • Internet Explorer is not supported.๐Ÿ˜‚

Documentation

How to import?

  • JS
    • nbtextedit.js
    • nbtextedit_min.js
  • CSS
    • nbtextedit.css
    • nbtextedit_min.css

Just select! but, keep relative path of files.

How to construct Editor?

  1. Import javascript, css files.

  2. Plz do this. So editor will be created in div that has 'NB-texteditor'.

    <body>
    	<div id="NB-texteditor"></div>
    </body>
    <script>NBnote();</script>
  3. You can choice these option!

    NBnote(
    	color='#12b886',
    	link=true,
    	image=false,
    	eng=false
    );
    • color : Just select that color you like.

    • link : If you want insert link function, select 'true'.

    • image : If you want insert image function, select 'true'.

      I'm Sorry..๐Ÿ˜… Image inserting is not supported not yet.

    • eng : If you want to use by English, select 'true'.

How to get form data?

  • Use this function.

    let your_data = NBnoteData(title=false, post=false, images=false);

    (title = false) is default, (post=false) is default, (images=false) is default.

    This function will return FormData to you.

  • โ—WARNINGโ— If you don't use this function, This editor's link tag may not work normally.

How to view data?

  • If you add this Class to div you want, Editor Css is activated.

    <!-- View Div -->
    <div class="NB_NoteBoard">
        
    </div>

Contributions

Any kinds of contributions are welecomed. Since the test codes of the project is not completed yet, pull requests might take a while.

2020-04-12 xD

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.