We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92a3962 + 99c96d7 commit f1ffcf0Copy full SHA for f1ffcf0
src/apps/review/src/lib/components/FieldMarkdownEditor/FieldMarkdownEditor.tsx
@@ -135,7 +135,7 @@ const toggleStrategy = {
135
},
136
italic: (start: any, end: any) => {
137
const startType = start.replace(/(\*|_)(?![\s\S]*(\*|_))/, '')
138
- const endType = end.replace(/(\*|_)/, '')
+ const endType = end.replace(/(\*|_)/g, '')
139
return { endType, startType }
140
141
strikethrough: (start: any, end: any) => {
0 commit comments