Since Angular now officially supports custom elements I thought it’d be a good moment to figure out whether custom elements could improve the developer workflow when rendering and interacting with custom nodes within ProseMirror. Using web standards for this makes at least my implementations a lot cleaner.
I am putting this up here in case someone else is interested in experimenting with custom elements (you don’t really need Angular for that - there are plenty of alternatives - Angular ist just what I use)
Hi…I am new to Angular 6 but would like to use Prosemirror in my web app. I am using Angular 6 with CLI. I tried to install using ng2-prosemirror but it failed due to a codemirror error. I have seen your example of a set up with custom element. I would like to learn how to implement a simple editor without any custom element…can you please give me a hand?
Thanks in advance
Thank you so much for your helpful reply. I am slowly learning. I have created editor.directive.ts and custom-view.ts in the working folder. In the html page of this folder, I have added: . but the editor is not showing up. Should I do anything else to link editor.directive.ts with html?
I am sorry for my stupid question I am a very beginner in Angular…