farhaansari

Results 1 comments of farhaansari

Hi For this case, you can add elementsAttributes in the "classApplier" code. for Ex: this.highlighter.addClassApplier(rangy.createClassApplier("highlight", { ignoreWhiteSpace: true, tagNames: ["span","a"], elementAttributes " { "id" = "Unique-Id", "onClick" = "onClickHighlight(this);" }));