We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I would like to get the editor upon initialization. is there any way i could do this?
The text was updated successfully, but these errors were encountered:
You can try the following.
In your template:
<jodit-editor #editor></jodit-editor>
in your component:
import { Component, OnInit, ViewChild } from '@angular/core'; import { JoditAngularComponent } from 'jodit-angular'; @Component({ selector: 'app-foo', templateUrl: './foo.component.html', styleUrls: ['./foo.component.scss'] }) export class FooComponent implements OnInit { @ViewChild('editor', { static: true }) editor: JoditAngularComponent; ngOnInit(): void { this.editor.value = 'Hello from foo.'; } }
An editor loaded event with the editor as a param to the callback would be awesome, but I don't think it's implemented :(
Cheers.
Sorry, something went wrong.
MrElectroNick
No branches or pull requests
Hi I would like to get the editor upon initialization. is there any way i could do this?
The text was updated successfully, but these errors were encountered: