jodit / jodit/jodit-angular

Using attribute such as ngModel, required, disabled, maxlength... ?

Open
#31 4 comments 0 reactions 1 assignee View on GitHub

@MrElectroNick is already working on this.

Since Mar 20, 2021.

bug
Dominant language
TypeScript
Stars
48
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Is there a simple way to use those attributes on the angular wrapper ?
Shouldn't it be added to the component in order to be able to use them when it's calling jodit ?

Using (onChange) instead of [(ngModel)] is very heavy and I can feel the performances drop.

For now I'm using a hidden input with the proper maxlength and required attribute and a [(ngModel)] updated on the (onChange) event from the editor input.
But it's getting slow, and I couldn't find a way to disable the jodit editor yet.

There must be a better solution.
Any advice ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.