Skip to content

Commit

Permalink
Release v0.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Waxolunist committed Jun 11, 2014
1 parent 00e468c commit 6f59136
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13 deletions.
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ If you are using bower use the “bootstrap3-wysihtml5-bower” package.

bower install bootstrap3-wysihtml5-bower

If using Rails, use ["bootstrap-wysihtml5-rails"](https://github.com/Nerian/bootstrap-wysihtml5-rails):

gem bootstrap-wysihtml5-rails

## Examples

- [http://waxolunist.github.io/bootstrap3-wysihtml5-bower/](http://waxolunist.github.io/bootstrap3-wysihtml5-bower/)
Expand Down Expand Up @@ -266,7 +270,7 @@ There's quite a bit that can be done with parserRules; see [wysihtml5's advanced

#### Shortcuts

You can map your own shortcuts to commands. For example if you want to map the underline command to <Alt>+T call the editor with following options:
You can map your own shortcuts to commands. For example if you want to map the underline command to Alt+T call the editor with following options:

```javascript
$('#some-textarea').wysihtml5({
Expand All @@ -276,7 +280,7 @@ $('#some-textarea').wysihtml5({
});
```

The code executes the command with <Alt>, <Ctrl> or <Meta> pressed. In the example above <Ctrl>-T in Chrome is already occupied by "New Tab", thus not overridable.
The code executes the command with Alt, Meta or Ctrl pressed. In the example above Ctrl-T in Chrome is already occupied by "New Tab", thus not overridable.

#### Defaults

Expand Down Expand Up @@ -318,14 +322,21 @@ It is possible to use custom translations as well. Just add a new key to $.fn.wy

# Release Notes

* *0.3.1* (2014/06/11):
* Updated locales es-ES and es-AR ([#49](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/49))
* Updated wysihtml5x to 0.4.8 ([#53](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/53))
* Added toolbar option for enabling font awesome ([#51](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/51))
* Resolved custom shortcut issue ([#43](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/43))
* *0.3.0* (2014/05/04):
* Changed wysihtml implementation to wysihtml5x-0.4.4
* Added support for requirejs ([#40](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/40))
* Fixed version of jquery to be higher or equal to 2.1.0
* This release adds support for div tags instead of textarea as editor container. The div tag will be from now on the recommended way of starting an editor instance.
* *0.2.10* (not yet released):
* Added option for small modals (adding class `.modal-sm` to `.modal-dialog`) ([#42](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/42))
* Fixed version of jquery to be lower than 2.1.0 because of path incompatibilities
* Fixed version of jquery to be lower than 2.1.0 because of path incompatibilities
* Updated locales es-ES and es-AR ([#49](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/pull/49))
* Resolved custom shortcut issue ([#43](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/43))
* *0.2.9* (2014/02/28):
* Added hebrew translation
* Updated spanish translations (es-ES, es-AR)
Expand Down Expand Up @@ -375,5 +386,7 @@ It is possible to use custom translations as well. Just add a new key to $.fn.wy

# Thanks for assistance and contributions

* Garito (Github)

* Garito (https://github.com/Garito)
* jmlweb (https://github.com/jmlweb)
* corbinu (https://github.com/corbinu)
* Nerian (https://github.com/Nerian)
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap3-wysihtml5-bower",
"version": "0.2.10-alpha.2",
"version": "0.2.10",
"main": [
"dist/bootstrap3-wysihtml5.min.css",
"dist/bootstrap3-wysihtml5.min.js"
Expand Down
4 changes: 2 additions & 2 deletions dist/bootstrap3-wysihtml5.all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bootstrap3-wysihtml5.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
wysihtml5.dom.observe(el, 'keydown', function(event) {
var keyCode = event.keyCode,
command = shortcuts[keyCode];
if ((event.ctrlKey || event.metaKey) && !event.altKey && command && wysihtml5.commands[command]) {
if ((event.ctrlKey || event.metaKey || event.altKey) && command && wysihtml5.commands[command]) {
wysihtml5.commands[command].exec(editor.composer, command);
event.preventDefault();
}
Expand Down
2 changes: 1 addition & 1 deletion dist/bootstrap3-wysihtml5.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/bootstrap3-wysihtml5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap3-wysihtml5-bower",
"version": "0.2.10-alpha.2",
"version": "0.2.10",
"description": "Bootstrap 3 compatible wysiwyg editor",
"directories": {
"test": "test"
Expand Down

0 comments on commit 6f59136

Please sign in to comment.