GithubHelp home page GithubHelp logo

Comments (4)

pvankouteren avatar pvankouteren commented on May 17, 2024

Looks nice and clean. How does it compare to CKEditor in terms of features?

from bolt.

bobdenotter avatar bobdenotter commented on May 17, 2024

After you've mentioned bootstrap/wysihtml5 on Twitter, i've looked into it. Some of my thoughts:

  • It's definitely lightweight. This is a big plus.
  • Its Look and feel would make it fit in with Bolt smoothly.
  • It has problems when pasting from Word or other sources, because it doesn't strip the HTML. CKeditor strips all unwanted Word-HTML to clean, simple <p>'s and other basic, semantic HTML.
  • It inserts unwanted elements in the HTML it generates: things like <span id="_wysihtml5-undo" class="_wysihtml5-temp"></span> and random <p>&nbsp;</p> blocks between paragraphs or lists.
  • It doesn't have an 'view source' option. Which is problematic, especially considering the points about the odd HTML it inserts. I notice that wysihtml5 itself does support 'view source', so we could probably add that easily.
  • The current version of wysihtml5 is '0.3.0', and was released over half a year ago. I'm worried about whether there will ever be a version that's considered to be stable, and at which timeframe. I wouldn't want to invest in a tool that is not going to be developed further.

All things considered, I think we should stick with CKEditor for the time being. The fact that is has been around for something like 10 years, does show that it's a mature product, and it's not going to be abandoned anytime soon.
The only issue with CKEditor that i currently have is its size: It's big, because it has way more features than we need. I've stripped most of these from the toolbar, but that means it's still in the code. Once CKeditor 4 gets closer to release, i'd like to look into its build scripts, to see if we can use that to compile a slimmer version.

from bolt.

pvankouteren avatar pvankouteren commented on May 17, 2024

Yes, if there's no progression on the project and versioned < 1, I agree the tool should not be used in this project.

from bolt.

sirlancelot avatar sirlancelot commented on May 17, 2024

Good points :)

from bolt.

Related Issues (20)

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.