Skip to content

Blazor custom paste with .net8 #52293

Open

Description

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Custom paste event as described here is no longer working with .net8

Expected Behavior

Update the docs: afterStarted => afterWebStarted

Steps To Reproduce

export function afterStarted(blazor) {
blazor.registerCustomEventType('custompaste', {
browserEventName: 'paste',
createEventArgs: event => {
return {
pastedData: event.clipboardData.getData('text')
};
}
});
}

Exceptions (if any)

No response

.NET Version

8.0.100

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

DocsThis issue tracks updating documentationarea-blazorIncludes: Blazor, Razor Components

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions