Git Product home page Git Product logo

dhirajpatra / ckeditor_nodejs_with_img_upload Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 5.0 1.12 MB

This is full and functional new CKEditor with NodeJs integration. Along with image upload and browser from server as well. Which is not availble with CKEditor free. So enjoy FREE image upload too. Along with AWS S3 upload and browse.

License: MIT License

JavaScript 5.16% CSS 15.24% HTML 33.23% ASP 5.86% ColdFusion 16.04% Lasso 2.66% Perl 4.77% PHP 11.85% Python 5.18%
nodejs-modules nodejs ckeditor ckeditor-plugin

ckeditor_nodejs_with_img_upload's Introduction

ckeditor_nodejs_with_img_upload

This is full and functional new CKEditor with NodeJs integration. Along with image upload and browser from server as well. Which is not availble with CKEditor free. So enjoy FREE image upload too.

Also have AWS S3 upload and browse function included

So that you can integrate with S3 and browse and upload files/images from CkEditor.

How to install

  1. Keep the ckeditor folder into your public folder

  2. In your app.js or any other router controller add the code I have written here in app.js

  3. Create your view template file here it is index.hbs You can change the path in both app.js and template file as well.

  4. Need to install following NPM module:

    https://www.npmjs.com/package/fs [run this command: npm install fs --save]

    https://www.npmjs.com/package/connect-busboy [run this command: npm install connect-busboy --save]

  5. When you run that template file's page. You should see the ckeditor. When you click on image icon you will get both browse from server [along with creating folder]. And upload new file as well.

Any question or help kindly update me.

ckeditor_nodejs_with_img_upload's People

Contributors

dhirajpatra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ckeditor_nodejs_with_img_upload's Issues

ReferenceError: router is not defined

I am getting below error after running your code as suggested by you.

Please see below error:

router.use(busboy());
^

ReferenceError: router is not defined
    at Object.<anonymous> (D:\home\Test\ckeditor_nodejs_with_img_upload\app.js:7:1)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
    at startup (internal/bootstrap/node.js:238:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:572:3)

Can you please help me with that?

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.