@kvass/rich-text 1.4.13 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ on:
5
5
  - master
6
6
  jobs:
7
7
  deploy:
8
- runs-on: ubuntu-20.04
8
+ runs-on: ubuntu-latest
9
9
  steps:
10
10
  - uses: actions/checkout@v3
11
11
  - uses: actions/setup-node@v3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kvass/rich-text",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "rich text component for kvass",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Component.vue CHANGED
@@ -133,6 +133,8 @@ export default {
133
133
  },
134
134
  computed: {
135
135
  availableCommands() {
136
+ const language = this._i18n.locale
137
+
136
138
  return [
137
139
  {
138
140
  stateKey: 'heading',
@@ -147,7 +149,7 @@ export default {
147
149
  {
148
150
  stateKey: 'bold',
149
151
  commandKey: 'toggleBold',
150
- icon: ['far', 'bold'],
152
+ icon: ['far', language === 'fr' ? 'g' : 'bold'],
151
153
  appearance: {
152
154
  menu: true,
153
155
  bubble: true,