Skip to content

Commit 7194f6f

Browse files
committed
Merge branch 'master' into next
2 parents d5edecb + f8d7b82 commit 7194f6f

10 files changed

Lines changed: 2531 additions & 2685 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-node@v2
2626
with:
27-
node-version: '14'
27+
node-version: '16.15.0'
2828

2929
- run: yarn install
3030
- run: yarn build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ yarn start
3333

3434
[Blog](https://dhtmlx.com/blog/tag/richtext/)
3535

36-
[Forum](https://forum.dhtmlx.com/c/widgets/richtext/)
36+
[Forum](https://forum.dhtmlx.com/c/richtext/)
3737

3838
## Follow us
3939

docker/redirects.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@
4646
/event_handling.html /richtext/guides/event_handling;
4747
/angular_integration.html /richtext/guides/angular_integration;
4848
/react_integration.html /richtext/guides/react_integration;
49-
/vuejs_integration.html /richtext/guides/vuejs_integration;
49+
/vuejs_integration.html /richtext/guides/vuejs_integration;
50+
51+
/overview/ /richtext/;

docs/api/methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Adds content into the RichText editor
210210
```js
211211
var htmlText = `<h1>Meet DHTMLX Rich Text Editor!</h1>` +
212212
`<p>This demo will show you a customizable JavaScript rich text editor.</p>` +
213-
`<p><i>To learn more, read </i><a href="https://docs.dhtmlx.com/richtext/overview/"><i>documentation</i></a></p>.`
213+
`<p><i>To learn more, read </i><a href="https://docs.dhtmlx.com/richtext/"><i>documentation</i></a></p>.`
214214

215215
// adding HTML content
216216
richtext.setValue(htmlText);
@@ -227,7 +227,7 @@ var mdText = `# Meet DHTMLX Rich Text Editor!
227227
228228
This demo will show you a customizable **JavaScript rich text editor**.
229229
230-
*To learn more, read [documentation](https://docs.dhtmlx.com/richtext/overview/)*.`
230+
*To learn more, read [documentation](https://docs.dhtmlx.com/richtext/)*.`
231231

232232
richtext.setValue(mdText,"markdown");
233233
```

docs/guides/customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Toolbar
178178

179179
### Default controls
180180

181-
The [default toolbar](overview.md#toolbar-structure) contains the following blocks of controls:
181+
The [default toolbar](../../#toolbar-structure) contains the following blocks of controls:
182182

183183
- the **Undo** block
184184
- the *Undo* button (id:"undo")

docs/guides/loading_data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var mdText = `# Meet DHTMLX Rich Text Editor!
6060
6161
This demo will show you a customizable **JavaScript rich text editor**.
6262
63-
*To learn more, read [documentation](https://docs.dhtmlx.com/richtext/overview/)*.`
63+
*To learn more, read [documentation](https://docs.dhtmlx.com/richtext/)*.`
6464

6565
richtext.setValue(mdText,"markdown");
6666
~~~

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ module.exports = {
186186
},
187187
{
188188
label: 'Forum',
189-
href: 'https://forum.dhtmlx.com/c/widgets/richtext',
189+
href: 'https://forum.dhtmlx.com/c/richtext/',
190190
position: 'right'
191191
},
192192
{
@@ -223,7 +223,7 @@ module.exports = {
223223
},
224224
{
225225
label: 'Forum',
226-
href: 'https://forum.dhtmlx.com/c/widgets/richtext',
226+
href: 'https://forum.dhtmlx.com/c/richtext/',
227227
position: 'right'
228228
},
229229
],
@@ -282,7 +282,7 @@ module.exports = {
282282
docs: {
283283
sidebarPath: require.resolve('./sidebars.js'),
284284
// Please change this to your repo.
285-
//editUrl: 'https://github.com/DHTMLX/docs-richtext/edit/master/',
285+
editUrl: 'https://github.com/DHTMLX/docs-richtext/edit/master/',
286286
routeBasePath: '/',
287287
},
288288
// blog: {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"serve": "docusaurus serve"
1212
},
1313
"dependencies": {
14-
"@docusaurus/core": "^2.0.0-beta.16",
15-
"@docusaurus/preset-classic": "^2.0.0-beta.16",
14+
"@docusaurus/core": "^2.2.0",
15+
"@docusaurus/preset-classic": "^2.2.0",
1616
"@mdx-js/react": "^1.5.8",
1717
"clsx": "^1.1.1",
1818
"docusaurus-gtm-plugin": "^0.0.2",

src/css/custom.css

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,19 @@ table th:last-child {
113113
margin-bottom: var(--ifm-leading);
114114
}
115115

116-
117116
/* end indent for imgs */
118117

118+
/* Link icons */
119+
120+
.iconExternalLink_lCJq,
121+
.iconExternalLink_node_modules-\@docusaurus-theme-classic-lib-theme-IconExternalLink-styles-module,
122+
.iconExternalLink_nPIU,
123+
.iconExternalLink_node_modules-\@docusaurus-theme-classic-lib-theme-Icon-ExternalLink-styles-module {
124+
display: none; /* hides the link icon */
125+
}
126+
127+
/* end Link icons */
128+
119129

120130
/* Change the appearance of mobile navigation */
121131

@@ -132,4 +142,13 @@ table th:last-child {
132142
}
133143

134144

135-
/* end change the appearance of mobile navigation */
145+
/* end change the appearance of mobile navigation */
146+
147+
/* styles for block of code */
148+
149+
.token-line.theme-code-block-highlighted-line{ /* added after updating to 2.0.0-beta.19 */
150+
background-color: rgb(156 159 166 / 30%);
151+
}
152+
153+
/* end styles for block of code */
154+

0 commit comments

Comments
 (0)