striven-editor

Maintained and contributed to an open source WYSIWYG editor as an internship project that made it to production and was adopted by the company I was working at.
git clone https://unitehenry.com/git/striven-editor.git
Log | Files | Refs | README | LICENSE

commit 51e0451f96206b1f4d0609c97b9e4e45ef0c0f46
parent 4dbd3900b92d387466de935375920c29f0a7464f
Author: Eric Butler <ebutler@striven.com>
Date:   Thu, 20 Feb 2025 08:29:29 -0500

made tab buttons of type button.

Diffstat:
Mpackage.json | 2+-
Msrc/striveneditor.js | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json @@ -1,7 +1,7 @@ { "name": "@striven-erp/striven-editor", "private": false, - "version": "3.19.2", + "version": "3.19.3", "description": "The editor used for the Striven ERP system.", "main": "./dist", "scripts": { diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -1309,9 +1309,11 @@ export default class StrivenEditor { // Upload tab button const imageMenuUploadTabButton = document.createElement('button'); imageMenuUploadTabButton.classList.add('se-tab-button', 'se-tab-button-upload', 'tab-button-active'); + imageMenuUploadTabButton.type='button'; // Link tab button const imageMenuLinkTabButton = document.createElement('button'); imageMenuLinkTabButton.classList.add('se-tab-button', 'se-tab-button-link'); + imageMenuLinkTabButton.type='button'; // Image Menu Tabs const imageMenuUploadTab = document.createElement('div');