Skip to content

Content: Prevent app from crashing when switching to wysiwyg or inline editor with a tag with missing href value#4037

Merged
finnar-bin merged 1 commit intodevfrom
fix/3990-no-href-value-crashes-app
Apr 16, 2026
Merged

Content: Prevent app from crashing when switching to wysiwyg or inline editor with a tag with missing href value#4037
finnar-bin merged 1 commit intodevfrom
fix/3990-no-href-value-crashes-app

Conversation

@finnar-bin
Copy link
Copy Markdown
Contributor

Added a default href value to prevent the app from crashing when switching to the wysiwyg or inline editor from markdown view with an tag that has an href value that is undefined/null.
Resolves #3990

wysiwyg and inline editors with a null/undefined href value
@finnar-bin finnar-bin self-assigned this Apr 16, 2026
@finnar-bin finnar-bin added the bug Something isn't working label Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Overall Coverage

Lines Statements Branches Functions
57.16% 57.09% 52.78% 51.67%

Changed Files Coverage

File Lines Statements Branches Functions
src/shell/components/FieldTypeEditor/Editors/react-prosemirror-schema/marks.js 51.51% 51.51% 0.00% 11.11%

@finnar-bin finnar-bin merged commit 4ba80b9 into dev Apr 16, 2026
1 check passed
@finnar-bin finnar-bin deleted the fix/3990-no-href-value-crashes-app branch April 16, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RangeError: No value supplied for attribute href

3 participants