GithubHelp home page GithubHelp logo

bootstrap-wysiwyg / bootstrap3-wysiwyg Goto Github PK

View Code? Open in Web Editor NEW
833.0 833.0 263.0 4.36 MB

Simple, beautiful wysiwyg editor

Home Page: http://bootstrap-wysiwyg.github.io/bootstrap3-wysiwyg/

License: MIT License

JavaScript 98.69% HTML 1.31%

bootstrap3-wysiwyg's People

Contributors

a-f1v3 avatar ajeliuc avatar alekseyev avatar amephist avatar andruha27 avatar artf avatar aueda avatar bunnymatic avatar camelmasa avatar cantorrodista avatar cocoaine avatar edslocomb avatar hermansc avatar hinrik avatar hockic avatar jhollingworth avatar joshua-schnabel avatar kaworu avatar koppor avatar martin-g avatar marvindv avatar nanego avatar rizzello avatar robashton avatar rodrigopereyradiaz avatar scarroll32 avatar thet avatar thienhung1989 avatar volmer avatar waxolunist 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  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  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

bootstrap3-wysiwyg's Issues

[CLOSED] Can't replicate the link behaviour when seletion is in a label

Issue by Garito
Wednesday Dec 18, 2013 at 15:20 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#17


Hi!
Could you please checkout this: https://github.com/Garito/bootstrap3-wysihtml5-bower
and tell me why the Label button doesn't behaves like link even when they are almost identicall?

In theory, if you define a label (witch works correct) but then put the cursor over it, the label button don't changes to pushed and behavies like the link button

Is it possible that this occurs because of the parser? (trying to use intuition on this question)

Thanks!

[CLOSED] bootstrap3-wysihtml5.all.min.js, line 3 character 22397

Issue by wilsonchow
Wednesday Feb 05, 2014 at 07:35 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#30


When using IE10 with multiple textareas, only the first one is appearing correctly. The rest are in HTML code. IE10 has this error message "SCRIPT5007: Unable to get property 'addEventListener' of undefined or null reference
bootstrap3-wysihtml5.all.min.js, line 3 character 22397"

All other browsers (IE11, Chrome 32 and Firefox 26) are working fine.

Any idea? Cus' my clients are still using IE10 as their major browser! Please help.

[CLOSED] Display formatted content when initializing WYISHTML5 on div

Issue by vasikgreif
Saturday May 31, 2014 at 15:56 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#50


When I initialize WYISHTML5 on div, the content of the div after page load isn't formatted, instead I get ie. <b>This should be bold</b>. Am I missing something, or is this a bug?

I'm initializing it like:

function initialize_wysihtml5(element) {
    element.wysihtml5({
        "stylesheets": ["http://domain.com/lib/bootstrap-wysihtml5/lib/css/wysiwyg-color.css"], // CSS stylesheets to load
        "color": true, // enable text color selection
        "size": 'small', // buttons size
        "html": true, // enable button to edit HTML
        "format-code": true, // enable syntax highlighting
        "image": false
    });
}

[CLOSED] Bootstrap integration

Issue by Garito
Tuesday Dec 17, 2013 at 16:24 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#9


This is a big one, I'm agree
The point is that seems to me weird at least that this library's name is bootstrap3 but hasn't any bootstrap integration

The logic tells me that the parser and the toolbar need to include the components of the framework even when it's not a simple job

Are you agree with me?

[CLOSED] Adding custom toolbar buttons is made slightly more awkward than necessary

Issue by cooperaj
Wednesday Feb 26, 2014 at 16:49 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#39


I'm utilising the underlying wysithtml5 libraries 'insertHTML' command on some custom buttons. To do this I've created a template that includes these commands and have added

custombuttons: true,

to my user options to get it to load. Only it doesn't load because the this library uses the defaultOptions to populate the toolbar and not the combined default/user options. To work around this I have added the above to the the underlying $.fn.wysihtml55.defaultOptions object. This realistically achieves the same but is not super intuitive.

[CLOSED] Without Handlebars.js

Issue by thapar
Sunday Feb 09, 2014 at 18:15 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#31


Firstly, it's sad that such a clever, compact, and powerful script has been left high and dry in other repos, so THANK YOU for maintaining the project!

I do want to inquire about dependencies though. If I just want to use wysihtml5 without having my buttons styled, or other GUI handled for me, is this repo still usable, or is Handlebars.js a definite dependency? The minimalistic dogma of wysihtml5 was a feature that drew me to it over etherpad, and I was hoping to simply implement the core wysihtml5 (along with your advancements) from this repo, if at all possible.

[CLOSED] Label button (WIP)

Issue by Garito
Wednesday Dec 18, 2013 at 17:02 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#18


Added a button to make the selection a Bootstrap Label
Despiste the fact that the code it's based on the Link button, the
behavior differs on the link when the label is already setted (this is
why is a WIP)

Added the needed locales for en-US, es-ES and ca-CT


Garito included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/18/commits

[CLOSED] RequireJS - Errors after updating from 0.2.6 to 0.2.9 via bower

Issue by larryisthere
Thursday Feb 27, 2014 at 12:46 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#40


With 0.2.6 everything worked just fine, but errors below come with 0.2.9.
Anyone knows how to fix them?

[Error] TypeError: 'undefined' is not an object (evaluating 'a.commands') (bootstrap3-wysihtml5.all.min.js, line 2)
[Debug] Locale 'en' not found. Available locales are: . Falling back to 'en'. (bootstrap3-wysihtml5.all.min.js, line 2)
[Error] TypeError: 'undefined' is not a constructor (evaluating 'new b.Editor(this.el[0],c)')
createEditor (bootstrap3-wysihtml5.all.min.js, line 2)
d (bootstrap3-wysihtml5.all.min.js, line 2)
(anonymous function) (bootstrap3-wysihtml5.all.min.js, line 2)
each (jquery.js, line 590)
each (jquery.js, line 237)
bypassDefaults (bootstrap3-wysihtml5.all.min.js, line 2)
shallowExtend (bootstrap3-wysihtml5.all.min.js, line 2)
init (bootstrap3-wysihtml5.all.min.js, line 2)
wysihtml5 (bootstrap3-wysihtml5.all.min.js, line 2)
initEls (modalLayer.js, line 78)
ModalAritcle (modalLayer.js, line 19)
data (_player.js, line 24)
(anonymous function) (main.js, line 8)
execCb (require.js, line 1650)
check (require.js, line 866)
(anonymous function) (require.js, line 1113)
(anonymous function) (require.js, line 132)
(anonymous function) (require.js, line 1156)
each (require.js, line 57)
emit (require.js, line 1155)
check (require.js, line 917)
(anonymous function) (require.js, line 1113)
(anonymous function) (require.js, line 132)
(anonymous function) (require.js, line 1156)
each (require.js, line 57)
emit (require.js, line 1155)
check (require.js, line 917)
(anonymous function) (require.js, line 1113)
(anonymous function) (require.js, line 132)
(anonymous function) (require.js, line 1156)
each (require.js, line 57)
emit (require.js, line 1155)
check (require.js, line 917)
enable (require.js, line 1143)
init (require.js, line 774)
callGetModule (require.js, line 1170)
completeLoad (require.js, line 1564)
onScriptLoad (require.js, line 1671)

[CLOSED] I am not able to insert data into textarea in ajax calls using jquery ,

Issue by mrmaninew
Wednesday Feb 19, 2014 at 18:54 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#37


I am unable to insert data into textarea using in ajax calls jquery ,

$(document).ready(function(){
  $.ajax({
    url: "/wikipost",
    type: "POST",
    data: JSON.stringify(data),
    contentType: 'application/json',
    datatype: "json",
    success: function (datas) {
      console.log('success');
      var res = JSON.stringify(datas);
      console.log(res);
      $.each(datas, function (index, element) {
        $('#textarea').val(element.extract) 
      });
 });

I also used .val(), .html(), .append() neither of these worked
please help me out, am I missing something ? ...........

[CLOSED] Toolbaroptions should be better declared

Issue by Waxolunist
Friday Dec 20, 2013 at 15:48 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#25


The toolbaroptions are currently read in the root of the options. The disadvantage of this approach is, that it is not possible to declare more granular options. Besides it is bad, because it does not allow to declare other options of type boolean and value true.

Goal is that toolbaroptions are an object of its own. Every non falsy value should initiate the corresponding menu.

This change will break current approach, therefore it is in version 0.3.x.

[CLOSED] Japanese IME Input Issue

Issue by dkonayuki
Thursday Feb 13, 2014 at 17:39 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#34


I have the problem when typing japanese.
Here I found the same issue and the solution for it at the original wysihtml5 plugin:
Issue: tiff/wysihtml5#177
Solution: https://github.com/xing/wysihtml5/pull/382/files

In jhollingworth's repository, I found that code line needed to be fixed is in this file: bootstrap-wysihtml5 / lib / js / wysihtml5-0.3.0.js (line 8538)

however, I'm using these only 2 files of yours in my project:
bootstrap3-wysihtml5.all.min.js
bootstrap3-wysihtml5.min.css
Therefore, I have no idea how to fix it.

Please have a look at this issue. btw, Can you release a uncompressed version of bootstrap3-wysihtml5.all.min.js? Thank you in advance.

[CLOSED] Locale don't load

Issue by Garito
Tuesday Dec 17, 2013 at 10:14 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#7


Hi!
Moving on with the integration of the editor in my system, I'm trying now to load a different locale but it fails no matter witch locale I'm trying to load (see the attachment)

Could you point me how to solve this issue or how to explain it better for understanding?

BTW there isn't errors or sign of problems only texts doesn't load. As a clue, the unmantained library raises an error with locales too

Thanks!
captura de pantalla 2013-12-17 a la s 11 12 55

[CLOSED] Content disappears after sorting

Issue by vasikgreif
Sunday May 04, 2014 at 21:55 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#47


I'm using jQuery Sortable for sorting my content. One of the fields in the <li> that is sorted is textarea with wysihtml5.

It works fine, but after I drag & drop / sort the li's, the textarea content disappears and cannot be clicked any more.

I guess I would need to destroy wysihtml5 before the sort and reinitialize it after - how can that be done? Or, is there any other way to solve this issue?

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.