Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: xing/wysihtml5
base: ebafa27ed1
...
head fork: xing/wysihtml5
compare: 136f7979f6
  • 2 commits
  • 5 files changed
  • 0 commit comments
  • 2 contributors
Commits on May 30, 2012
Christoph Schiessl allow digits in html class names in commands for fontSize, fontColor,…
… justifyCenter, justifyLeft, justifyRight
ef7cce9
@tiff tiff Merge pull request #90 from cs/master
Allow Digits in HTML class names in commands
136f797
View
2  src/commands/fontSize.js
@@ -5,7 +5,7 @@
*/
(function(wysihtml5) {
var undef,
- REG_EXP = /wysiwyg-font-size-[a-z\-]+/g;
+ REG_EXP = /wysiwyg-font-size-[0-9a-z\-]+/g;
wysihtml5.commands.fontSize = {
exec: function(composer, command, size) {
View
2  src/commands/foreColor.js
@@ -5,7 +5,7 @@
*/
(function(wysihtml5) {
var undef,
- REG_EXP = /wysiwyg-color-[a-z]+/g;
+ REG_EXP = /wysiwyg-color-[0-9a-z]+/g;
wysihtml5.commands.foreColor = {
exec: function(composer, command, color) {
View
2  src/commands/justifyCenter.js
@@ -1,7 +1,7 @@
(function(wysihtml5) {
var undef,
CLASS_NAME = "wysiwyg-text-align-center",
- REG_EXP = /wysiwyg-text-align-[a-z]+/g;
+ REG_EXP = /wysiwyg-text-align-[0-9a-z]+/g;
wysihtml5.commands.justifyCenter = {
exec: function(composer, command) {
View
2  src/commands/justifyLeft.js
@@ -1,7 +1,7 @@
(function(wysihtml5) {
var undef,
CLASS_NAME = "wysiwyg-text-align-left",
- REG_EXP = /wysiwyg-text-align-[a-z]+/g;
+ REG_EXP = /wysiwyg-text-align-[0-9a-z]+/g;
wysihtml5.commands.justifyLeft = {
exec: function(composer, command) {
View
2  src/commands/justifyRight.js
@@ -1,7 +1,7 @@
(function(wysihtml5) {
var undef,
CLASS_NAME = "wysiwyg-text-align-right",
- REG_EXP = /wysiwyg-text-align-[a-z]+/g;
+ REG_EXP = /wysiwyg-text-align-[0-9a-z]+/g;
wysihtml5.commands.justifyRight = {
exec: function(composer, command) {

No commit comments for this range

Something went wrong with that request. Please try again.