You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I am road-testing angular-medium-editor to see whether I can use (and extend) it to deliver an online editing capability for users to add custom angular directives to their content.
Using the highlighter example, I can see how I can add custom HTML tags, attributes and classes - so I think I'm half-way there!
But is it possible for the contents of the medium-editor (and the custom directives inserted within it) to be compiled when they're changed?
I have tried editing angular-medium-editor.js to compile the contents as part of the ngModel.$render function:
This works for custom directives that are already in the medium-editor's HTML model, but does not get re-compiled when the model changes (i.e. directives are added). Any ideas?
The text was updated successfully, but these errors were encountered:
Hi. I am road-testing
angular-medium-editor
to see whether I can use (and extend) it to deliver an online editing capability for users to add custom angular directives to their content.Using the highlighter example, I can see how I can add custom HTML tags, attributes and classes - so I think I'm half-way there!
But is it possible for the contents of the
medium-editor
(and the custom directives inserted within it) to be compiled when they're changed?I have tried editing
angular-medium-editor.js
to compile the contents as part of thengModel.$render
function:This works for custom directives that are already in the
medium-editor
's HTML model, but does not get re-compiled when the model changes (i.e. directives are added). Any ideas?The text was updated successfully, but these errors were encountered: