-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
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
How can I get the editor object outside the on-image-upload event? #37
Comments
Did you mean second parameter, |
I added a button which is irrelevant to summernote's picture toolbar to upload a image. |
In such case, can you use |
function DemoController($scope) {
$scope.text = "Hello World";
}
This sample code is changes from $scope.text to "Hello World". I have a time and searched this issue at Summernote. summernote/summernote#282 Look at HackerWins's comment on comment list. Summernote provide plugin and can access editor object. editor object can use the functions insertText, insertImage, createLink and so on. I think angular-summernote needs that function. What do you think? |
@Pyohwan
How about do you think the attribute name? Actually, I already used |
How do you think adding prefix like |
@Pyohwan DId I missed something? How do you think? |
That's ok. |
Hello.
I like angular-simmernote and I have a question.
I can upload a image using 'editor' object. 'editor' object is on-image-upload's parameter.
This object can be used only inner on-image-upload.
I'd like to use 'editor' object outside the on-image-upload too.
Thanks.
The text was updated successfully, but these errors were encountered: