I am trying to use Firepad. While trying to use firepad I am getting below error. Kindly let me know if I need to do something else.
In Firefox.
Error: i.parentNode is null
c@https://cdn.firebase.com/libs/firepad/1.3.0/firepad.min.js:15:16104
c@https://cdn.firebase.com/libs/firepad/1.3.0/firepad.min.js:15:15380
In Chrome I am getting below error.
TypeError: Cannot read property 'replaceChild' of null
at new c (firepad.min.js:15)
at Function.c (firepad.min.js:15)
at n.$scope.initFirepad (NotesUtils.js:231)
Code given below.
<div class="form-group">
<label for="inpNoteDescription" class="col-md-3 control-label" id="inpNoteDescription">Note Description With Firepad</label>
<div class="col-sm-8" id="inpNoteDescription">
</div>
</div>
$scope.initFirepad = function(){
var firepadRef = $scope.initObj.firepadRef ;
var noteDescription = $scope.currentNote.description ;
var codeMirror = CodeMirror(document.getElementById('inpNoteDescription'), { lineWrapping: true });
var firepad = Firepad.fromCodeMirror(firepadRef, codeMirror, { richTextShortcuts: true, richTextToolbar: true, defaultText: noteDescription });
}
--
You received this message because you are subscribed to the Google Groups "Firepad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firepad-io+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firepad-io/234a2ec5-7a80-477e-bcbd-bd1dcb7bb8a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.