Skip to content

Issue in ShareJS Codemirror editor #408

@wouwou4444

Description

@wouwou4444

While using sharejsCM template in a meteor webpage I got the following error:

Errors:

  1. Uncaught TypeError: Cannot read property 'extendDoc' of undefined
    if I only load the template, I have the textarea but there is no data in it and the window is not shared.

  2. mizzao_sharejs.js?hash=7f18169…:130 TypeError: doc.attach_cm is not a function
    while trying to use the onRender attribute


            {{>sharejsCM docid=docid onRender=config id="editor"}}

app: updated to Meteor 1.3.1.
Your top-level dependencies are at their latest compatible versions.


meteor list
accounts-password 1.1.7 Password support for accounts
autopublish 1.0.6 (For prototyping only) Publish the entire database to all clients
barbatus:stars-rating 1.0.7 Stars rating control
blaze-html-templates 1.0.3 Compile HTML templates into reactive UI with Meteor Blaze
ecmascript 0.4.2 Compiler plugin that supports ES2015+ in all .js files
es5-shim 4.5.9 Shims and polyfills to improve ECMAScript 5 support
ian:accounts-ui-bootstrap-3 1.2.89 Bootstrap-styled accounts-ui with multi-language support.
iron:router 1.0.12 Routing specifically designed for Meteor
jquery 1.11.7 Manipulate the DOM using CSS selectors
meteor-base 1.0.3 Packages that every Meteor app needs
mizzao:sharejs-codemirror 4.12.0 ShareJS with the CodeMirror Editor
mobile-experience 1.0.3 Packages for a great mobile user experience
mongo 1.1.6 Adaptor for using MongoDB and Minimongo over DDP
reactive-var 1.0.8 Reactive variable
standard-minifier-css 1.0.5 Standard css minifier used with Meteor apps by default.
standard-minifier-js 1.0.5 Standard javascript minifiers used with Meteor apps by default.
tracker 1.0.12 Dependency tracker to allow reactive callbacks
twbs:bootstrap 3.3.6 The most popular front-end framework for developing responsive, mobile first...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions