bootstrap-wysiwyg / bootstrap3-wysiwyg Goto Github PK
View Code? Open in Web Editor NEWSimple, beautiful wysiwyg editor
Home Page: http://bootstrap-wysiwyg.github.io/bootstrap3-wysiwyg/
License: MIT License
Simple, beautiful wysiwyg editor
Home Page: http://bootstrap-wysiwyg.github.io/bootstrap3-wysiwyg/
License: MIT License
Issue by Garito
Monday Dec 16, 2013 at 17:33 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#6
Hi!
I would like to put a folder in my server and start using the library
Can I install the dependencies without all this firework?
Thanks!
Issue by KeyKaKiTO
Monday Mar 10, 2014 at 14:35 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#42
First of all, thanks for forking an old repository and keeping it up.
Insert image and insert link modals are very large (for that amount of content).
Bootstrap has a class for small modal (.modal-sm
applied to .modal-dialog
).
It's far more pretty than the large one.
But again thanks for your great work :)
Issue by koppor
Wednesday Jan 15, 2014 at 06:38 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#28
This pull requests updates handlebars and bootstrap to their latest versions.
Furthermore, the version of bootstrap3-wysihtml5-bower is set to 0.2.7 assuming that will be the next release (before the 0.3.0 release)
koppor included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/28/commits
Issue by fletchermoore
Tuesday Apr 01, 2014 at 01:37 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#43
I tried to add an additional shortcut key as in the example in the README.
When I used '186' for semi-colon, the shortcut worked as expected, but using the example of '84', the browser (Chrome) opens a new tab instead.
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?
Issue by jmlweb
Monday May 19, 2014 at 17:07 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#49
The small button label was missing. Just added in the two language files (es_ES & es_AR)
jmlweb included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/49/commits
Issue by Garito
Tuesday Dec 17, 2013 at 17:43 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#15
With primary, succes, etc checkboxes
Size, block, active, disable
Issue by Waxolunist
Thursday Dec 19, 2013 at 17:02 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#23
Issue by Waxolunist
Thursday Dec 19, 2013 at 07:43 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#21
p is more semantic than div.
Issue by Waxolunist
Tuesday Feb 11, 2014 at 16:06 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#32
Issue by Garito
Tuesday Dec 17, 2013 at 17:40 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#14
With complete bootstrap interface:
checkboxes for striped, border, hover, responsive, etc
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
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.
Issue by dohomi
Wednesday May 07, 2014 at 07:41 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#48
Hello,
does this editor offers a flexible height, that the content area is growing while editing? It looks very promising though.
Cheers,
Dominic
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)
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.
Issue by Garito
Tuesday Dec 17, 2013 at 17:38 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#11
Is a p with class lead
Its used to make the p stand out the rest
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?
Issue by Garito
Tuesday Dec 17, 2013 at 17:39 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#12
To de-emphatize a block
Issue by Gaetan25
Wednesday Apr 23, 2014 at 19:34 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#46
Is it possible to add Justify text buttons in the toolbar ?
Issue by Garito
Tuesday Dec 17, 2013 at 17:44 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#16
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
Issue by Waxolunist
Thursday Dec 19, 2013 at 17:05 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#24
When a language chosen has no translation for a specific property, use the english translation, which should always be available.
Issue by aueda
Tuesday Dec 31, 2013 at 18:24 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#26
Included translation for the small button.
aueda included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/26/commits
Issue by iampivot
Thursday Jan 16, 2014 at 13:09 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#29
When pasting in from MS Word, then the commented out formatting information that MS Word includes in the markup is added and made visible in the editor, eg like
Issue by fletchermoore
Tuesday Apr 01, 2014 at 03:47 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#44
The repo examples did not work out of the box because the jquery library was not properly linked to.
fletchermoore included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/44/commits
Issue by cantorrodista
Friday Nov 22, 2013 at 10:13 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#1
cantorrodista included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/1/commits
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 ? ...........
Issue by Waxolunist
Thursday Mar 06, 2014 at 07:33 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#41
When in the middle of a bold word, a shortcut press unbolds the bold text without selection. This does not work for small.
Test is included for this.
Issue by SiamKreative
Wednesday Jan 15, 2014 at 05:26 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#27
Updated just one word.
SiamKreative included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/27/commits
Issue by SixSatori
Sunday Feb 16, 2014 at 18:33 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#36
Hebrew translation for bootstrap-wysihtml5
SixSatori included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/36/commits
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.
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!
Issue by Waxolunist
Tuesday Dec 17, 2013 at 16:03 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#8
If the locale given is not found, fall back to english and output a console log about.
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
});
}
Issue by Waxolunist
Friday Feb 14, 2014 at 16:16 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#35
Issue by Waxolunist
Thursday Dec 19, 2013 at 07:19 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#19
A small button should mark a text with
<small>Text</small>
A shortcut for this command should be added. Preferrable Ctrl+S
Issue by kAworu
Monday Dec 02, 2013 at 17:26 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#3
typo :)
kAworu included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/3/commits
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.
Issue by gandhisahil
Thursday Dec 12, 2013 at 17:46 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#5
how do i implement blockquote functionality?
Issue by Waxolunist
Thursday Dec 19, 2013 at 07:47 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#22
Issue by DevellMen
Monday Apr 21, 2014 at 14:06 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#45
Can't add text to editor.
$('#editor').val('Some text');
But this does not work.
Issue by dawid-drelichowski
Monday Nov 25, 2013 at 08:49 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#2
Polish translation update
dawid-drelichowski included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/2/commits
Issue by aueda
Wednesday Dec 11, 2013 at 04:04 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#4
Updated the brazilian portuguese translation for the new heading options (h4, h5 and h6) and link dialog.
aueda included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/4/commits
Issue by Garito
Tuesday Dec 17, 2013 at 17:35 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#10
Add a dialog that allows to add optional small and cite
Issue by Waxolunist
Thursday Feb 13, 2014 at 07:01 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#33
The examples are using a div instead of a sandboxed iframe. Same should be done for bootstrap3-wysihtml5.
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.
Issue by Garito
Tuesday Dec 17, 2013 at 17:40 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#13
Issue by Waxolunist
Thursday Dec 19, 2013 at 07:19 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#20
Issue by cheiff
Sunday Feb 23, 2014 at 17:56 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#38
Missing strings.
Thanks.
cheiff included the following code: https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/38/commits
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.