Skip to content

Commit f2e48cd

Browse files
committed
1 parent af2e866 commit f2e48cd

8 files changed

Lines changed: 257 additions & 33 deletions

File tree

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Bug Report
2+
description: Report a bug in jodit-react
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
11+
- type: input
12+
id: jodit-version
13+
attributes:
14+
label: Jodit Version
15+
description: What version of jodit/jodit-react are you using?
16+
placeholder: "e.g., 4.0.0"
17+
validations:
18+
required: true
19+
20+
- type: dropdown
21+
id: browser
22+
attributes:
23+
label: Browser
24+
description: What browser are you using?
25+
options:
26+
- Chrome
27+
- Firefox
28+
- Safari
29+
- Edge
30+
- Other
31+
validations:
32+
required: true
33+
34+
- type: dropdown
35+
id: os
36+
attributes:
37+
label: Operating System
38+
options:
39+
- Windows
40+
- macOS
41+
- Linux
42+
- Other
43+
validations:
44+
required: true
45+
46+
- type: input
47+
id: react-version
48+
attributes:
49+
label: React Version
50+
placeholder: "e.g., 18.2.0"
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: code
56+
attributes:
57+
label: Code to reproduce
58+
description: Please provide a minimal code example that reproduces the issue
59+
render: jsx
60+
validations:
61+
required: true
62+
63+
- type: textarea
64+
id: expected
65+
attributes:
66+
label: Expected behavior
67+
description: What did you expect to happen?
68+
validations:
69+
required: true
70+
71+
- type: textarea
72+
id: actual
73+
attributes:
74+
label: Actual behavior
75+
description: What actually happened?
76+
validations:
77+
required: true
78+
79+
- type: textarea
80+
id: additional
81+
attributes:
82+
label: Additional context
83+
description: Add any other context, screenshots, or error messages here

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions & Support
4+
url: https://stackoverflow.com/questions/tagged/jodit
5+
about: Please ask questions on Stack Overflow with the 'jodit' tag
6+
- name: Jodit Documentation
7+
url: https://xdsoft.net/jodit/docs/
8+
about: Check out the official Jodit documentation
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Feature Request
2+
description: Suggest a new feature for jodit-react
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a feature!
10+
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Problem description
15+
description: Is your feature request related to a problem? Please describe.
16+
placeholder: A clear description of what the problem is. Ex. I'm always frustrated when...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Proposed solution
24+
description: Describe the solution you'd like
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: Alternatives considered
32+
description: Describe any alternative solutions or features you've considered
33+
34+
- type: textarea
35+
id: additional
36+
attributes:
37+
label: Additional context
38+
description: Add any other context, mockups, or screenshots about the feature request

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
<!--
1+
## Description
22

3-
Thank you for submitting a pull request!
3+
<!-- Describe your changes -->
44

5-
Here's a checklist you might find useful.
6-
[ ] There is an associated issue that is labelled
7-
'Bug' or 'help wanted' or is in the Community milestone
8-
[ ] Code is up-to-date with the `main` branch
9-
[ ] You've successfully run `npm test` locally
10-
[ ] There are new or updated tests validating the change
11-
12-
-->
5+
## Related Issue
136

147
Fixes #
8+
9+
## Checklist
10+
11+
- [ ] There is an associated issue labeled 'bug' or 'enhancement'
12+
- [ ] Code is up-to-date with the `main` branch
13+
- [ ] `npm run lint` passes locally
14+
- [ ] `npm run test` passes locally
15+
- [ ] New or updated tests validate the change (if applicable)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jodit-react",
3-
"version": "5.3.13",
3+
"version": "5.3.14",
44
"description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
55
"main": "build/jodit-react.js",
66
"module": "./build/esm/index.mjs",

tests/__snapshots__/smoke.test.tsx.snap

Lines changed: 114 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,63 @@ exports[`Smoke Test > Config > should render without crashing 1`] = `
747747
>
748748
<div
749749
class="jodit-xpath"
750-
/>
750+
>
751+
<span
752+
aria-label="Select all"
753+
class="jodit-toolbar-button jodit-toolbar-button_variant_initial jodit-toolbar-button_selectall jodit-toolbar-button_size_tiny"
754+
data-ref="selectall"
755+
ref="selectall"
756+
role="listitem"
757+
>
758+
<button
759+
aria-pressed="false"
760+
class="jodit-toolbar-button__button"
761+
role="button"
762+
tabindex="-1"
763+
type="button"
764+
>
765+
<span
766+
class="jodit-toolbar-button__icon"
767+
>
768+
<svg
769+
class="jodit-icon_select_all jodit-icon"
770+
viewBox="0 0 18 18"
771+
xmlns="http://www.w3.org/2000/svg"
772+
>
773+
774+
<g
775+
fill-rule="evenodd"
776+
stroke="none"
777+
stroke-width="1"
778+
>
779+
780+
<g
781+
transform="translate(-381.000000, -381.000000)"
782+
>
783+
784+
<g
785+
transform="translate(381.000000, 381.000000)"
786+
>
787+
788+
<path
789+
d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"
790+
/>
791+
792+
</g>
793+
794+
</g>
795+
796+
</g>
797+
798+
</svg>
799+
</span>
800+
<span
801+
class="jodit-toolbar-button__text"
802+
/>
803+
</button>
804+
</span>
805+

806+
</div>
751807
</div>
752808
<div
753809
class="jodit-status-bar__item jodit-status-bar__item-right"
@@ -1489,7 +1545,63 @@ exports[`Smoke Test > should render without crashing 1`] = `
14891545
>
14901546
<div
14911547
class="jodit-xpath"
1492-
/>
1548+
>
1549+
<span
1550+
aria-label="Select all"
1551+
class="jodit-toolbar-button jodit-toolbar-button_variant_initial jodit-toolbar-button_selectall jodit-toolbar-button_size_tiny"
1552+
data-ref="selectall"
1553+
ref="selectall"
1554+
role="listitem"
1555+
>
1556+
<button
1557+
aria-pressed="false"
1558+
class="jodit-toolbar-button__button"
1559+
role="button"
1560+
tabindex="-1"
1561+
type="button"
1562+
>
1563+
<span
1564+
class="jodit-toolbar-button__icon"
1565+
>
1566+
<svg
1567+
class="jodit-icon_select_all jodit-icon"
1568+
viewBox="0 0 18 18"
1569+
xmlns="http://www.w3.org/2000/svg"
1570+
>
1571+
1572+
<g
1573+
fill-rule="evenodd"
1574+
stroke="none"
1575+
stroke-width="1"
1576+
>
1577+
1578+
<g
1579+
transform="translate(-381.000000, -381.000000)"
1580+
>
1581+
1582+
<g
1583+
transform="translate(381.000000, 381.000000)"
1584+
>
1585+
1586+
<path
1587+
d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"
1588+
/>
1589+
1590+
</g>
1591+
1592+
</g>
1593+
1594+
</g>
1595+
1596+
</svg>
1597+
</span>
1598+
<span
1599+
class="jodit-toolbar-button__text"
1600+
/>
1601+
</button>
1602+
</span>
1603+

1604+
</div>
14931605
</div>
14941606
<div
14951607
class="jodit-status-bar__item jodit-status-bar__item-right"

0 commit comments

Comments
 (0)