File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class EnhancerRegistry {
3232 return null
3333 }
3434
35- identifyTextarea ( textarea : HTMLTextAreaElement ) : EnhancedTextarea < any > | null {
35+ tryToEnhance ( textarea : HTMLTextAreaElement ) : EnhancedTextarea < any > | null {
3636 for ( const handler of this . enhancers ) {
3737 try {
3838 const result = handler . tryToEnhance ( textarea )
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ function enhanceMaybe(textarea: HTMLTextAreaElement) {
7373 injectStyles ( )
7474
7575 // Use registry to identify and handle this specific textarea
76- const enhancedTextarea = enhancers . identifyTextarea ( textarea )
76+ const enhancedTextarea = enhancers . tryToEnhance ( textarea )
7777 if ( enhancedTextarea ) {
7878 logger . debug (
7979 'Identified textarea:' ,
You can’t perform that action at this time.
0 commit comments