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
So I am having issues setting the content after initialization of the markdown editor.
debugger; // $scope.candidateInfo.notes <--- has a string in it $('#editor').markdownEditor('setContent', $scope.candidateInfo.notes);
I get a :
TypeError: Cannot read property 'env' of undefined
Any idea why? This is the order of execution:
$('#editor').markdownEditor({ preview: true, onPreview: function (content, callback) { callback( marked(content) ); } }); someService.getById($routeParams.id).then( function(response){ $scope.candidateInfo = response.data; debugger; $('#editor').markdownEditor('setContent', $scope.candidateInfo.notes); } );
if it helps it is breaking on this line:
var editor = ace.edit(this.find('.md-editor')[0]);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
So I am having issues setting the content after initialization of the markdown editor.
I get a :
Any idea why? This is the order of execution:
if it helps it is breaking on this line:
The text was updated successfully, but these errors were encountered: