diff --git a/README.md b/README.md index f790d96..facf880 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,27 @@ For more advanced customization, you can define your own toolbar options inside ``` +#### Custom Handlers +As Quill expects a handler created for every class you can add in custom handlers through the CustomHandler parameter where CustomHandler is a Dictionary: + +```csharp +// classname is added to the dictionary without the leading ql- as that is inferred during Quill instanciation +private Dictionary _customHandler_ = new() +{ + {"classname", "console.log('hello world');"} +} +``` + +```razor + + +