GithubHelp home page GithubHelp logo

Comments (11)

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by Waxolunist
Monday Feb 10, 2014 at 21:31 GMT


Handlebars runtime (only the runtime not the whole thing) is a dependency for the toolbar only. But its only about 3kb more. If you want to use wysihtml5 without all the toolbars and configuration I'd suggest either use the original one or one of the more advanced forks of wysihtml5 providing some 0.4 versions.

This repo only uses the editor as it is.

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by thapar
Monday Feb 10, 2014 at 21:36 GMT


I see, thanks for the answer! What advanced wysihtml5 forks are there? I couldn't find any maintained forks without additional dependencies (bootstrap, etc.)

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by Waxolunist
Monday Feb 10, 2014 at 21:39 GMT


They all seem to be maintained. You have to separate between the editor itself and the bootstrap integration. This is a bootstrap integration repository.

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by thapar
Sunday Feb 16, 2014 at 05:01 GMT


Thanks, I'll have to do some more digging. Would you say separating the bootstrap integration with the basic editor's code is a trivial task? Perhaps the complexity is over my head, but it just seems tightly woven together.

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by Waxolunist
Sunday Feb 16, 2014 at 13:14 GMT


The editor is separated from this code. It uses the editor only as a dependency as you can see, the editor itself is not in this repo it is just linked via bower.
I meant you have to separate the integration code and the editor itself in your mind. The code in this repo uses wysihtml5 and does not change it in any way. The editor is NOT dependent on the code in this repo in any way. They are not woven together.

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by thapar
Sunday Feb 16, 2014 at 23:31 GMT


Then how were you able to add nested list (outline) formatting?

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by Waxolunist
Monday Feb 17, 2014 at 15:57 GMT


As I said, I am just USING the functions of the editor. See for examples https://github.com/Edicy/wysihtml5/tree/master/examples

That is the plain editor as it is without the bootstrap integration.

This repo here uses wysihtml5, but wysithml5 does not use bootstrap3-wysithmlt5-bower (got it?). So you don't have to implement the core wysihtml editor, because it is already implemented. If you want just the core of wysihtml, just head over to either the original editor https://github.com/xing/wysihtml5 or use one of the forks, like mentioned above.

The purpose of this repo is to provide styled buttons for the editor wysihtml5. Its purpose is not to provide an editor.

If you want to know how to execute a command on the editor read the documentation of the editor or dig into the code of this repo. It's just a link with a data-attribute btw (see folder templates).

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by thapar
Monday Feb 17, 2014 at 19:01 GMT


I see, so Edicy's github repository added the nested list ability, which then trickled to you as well because of the use of bower?

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by Waxolunist
Monday Feb 17, 2014 at 19:48 GMT


Nested lists are already possible with the original wysihtml5 version by xing, which is not anymore developed.

But do you really understand what a dependency is or a dependency management tool?

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by thapar
Tuesday Feb 18, 2014 at 02:26 GMT


I didn't realize the original wysihtml5 had list nesting ability. That was my confusion, because as per the Issue tracker, it was still an outstanding feature request.

Yes, I'm aware of what dependencies are, and I understand how a management tool would work, although I have not had experience with any (including bower).

Thanks for taking the time to clarify my confusion!

from bootstrap3-wysiwyg.

Waxolunist avatar Waxolunist commented on June 4, 2024

Comment by Waxolunist
Wednesday Feb 19, 2014 at 09:29 GMT


No problem

from bootstrap3-wysiwyg.

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.