@kubex/zinc 1.1.145 → 1.1.146

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubex/zinc",
3
- "version": "1.1.145",
3
+ "version": "1.1.146",
4
4
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
5
5
  "keywords": [
6
6
  "web components",
@@ -357,8 +357,10 @@ export default class ZnTranslations extends ZincElement implements ZincFormContr
357
357
 
358
358
  private handleKeyDown = (event: KeyboardEvent) => {
359
359
  if (event.key === 'Enter') {
360
- // An inline edit commits on Enter itself, and a textarea needs it for the newline.
361
- if (event.target instanceof ZnInlineEdit || event.target instanceof ZnTextarea) {
360
+ // An inline edit commits on Enter itself, a textarea needs it for the
361
+ // newline, and a remarkd editor for a new paragraph.
362
+ if (event.target instanceof ZnInlineEdit || event.target instanceof ZnTextarea
363
+ || event.target instanceof ZnRemarkdEditor) {
362
364
  return;
363
365
  }
364
366