Skip to content

Commit

Permalink
Fix inline classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Wieland committed Mar 21, 2022
1 parent 8586b98 commit 1ec1789
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default (presetIdentifier, presetConfiguration) =>

config.view[optionIdentifier] = {
name: 'span',
attributes: {[attribute]: classes}
attributes: {[attribute ? attribute : 'class']: classes}
}
});

Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/CkStyles/Plugin.js

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

2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/CkStyles/Plugin.js.map

Large diffs are not rendered by default.

0 comments on commit 1ec1789

Please sign in to comment.