angular-mdc-web icon indicating copy to clipboard operation
angular-mdc-web copied to clipboard

Integrate rich text editor (quill / ngx-quill for example) as mdc form field

Open gpulido opened this issue 4 years ago • 3 comments

Describe the solution you'd like I would like to use a rich text editor for a form field that would behaves as a md form field. I have taken a look to ngx-quill and it would be nice to wrap it on a md-form-field.

Describe alternatives you've considered Try to develop the whole wrapper by myself using a similar aproach to this: https://itnext.io/creating-a-custom-form-field-control-compatible-with-reactive-forms-and-angular-material-cf195905b451

Additional context I have also considerer to use a Markdown control instead of a rtf but I would have the same problem.

gpulido avatar Feb 14 '20 11:02 gpulido

I'm building a rich text editor very similar to notion.so in terms of features. I'll try and extract it to a library and place it here tomorrow.

PabloG6 avatar Feb 28 '20 07:02 PabloG6

Hi @PabloG6 Thank you for your efforts! 👍 Very neat idea and I'm sure others will benefit!

When ready, just publish to your public GitHub repo and update this thread with the URL. I'll create a new section for 3rd party extensions on main page with link to your repo.

Thanks!

trimox avatar Feb 28 '20 11:02 trimox

Helllo @PabloG6 it would be awesome! At this moment I'm just using ngx-quill with some custom css to look like the outline version of the material fields, it works but is not properly integrated with the whole material experience...

gpulido avatar Feb 28 '20 21:02 gpulido