Comments (4)
Maybe a plain Javascript (no coffeescript) demo with a single textarea (no full-blown application) could help jump-start new developers with 'meteor-sharejs'.
from meteor-sharejs.
docid
is not going to be defined in that helper.
Sorry, but GitHub issues are not meant to be a support forum. Please understand how the demo works first and then build your app based on that.
from meteor-sharejs.
Hi @mizzao, thanks for your support.
I think this issue has been raised by others before. To me it seems the main reason is that the README
implies that the steps mentioned above is all you need to get a demo working. So maybe add to the README
, that the steps do not create a working demo but that people need to look into the demo files instead.
Usage
No configuration necessary for anonymous document editing
Use this helper on the client to get a textarea
{{> sharejsText docid=docid id="editor"}}
Server Configuration
See this example config file for the various settings that you CAN [not must] use
Persistence
By default, the documents and edit operations will be persisted
from meteor-sharejs.
This package is basically a band-aid to get over to full operational transformation with Meteor. As mentioned in #50 the ideal method would be ShareJS 0.7 with QuillJS. So it's not worth spending too much time on.
from meteor-sharejs.
Related Issues (20)
- ReferenceError: Cannot access 'ShareJS' before initialization HOT 2
- Editor permissions HOT 4
- ShareJS object not exported? HOT 2
- Multiple Ace Editor IDs HOT 2
- mizzao:[email protected] causes app to crash HOT 1
- broken with multiple app instances? HOT 1
- Uncaught Error: Cannot find module 'share/node_modules/browserchannel/dist/bcsocket-uncompressed' HOT 1
- Failed to get ops HOT 39
- Update CodeMirror? HOT 2
- Still Active? HOT 2
- Need to declare use of ecmascript HOT 3
- Update to codemirror 5.25.0
- ShareJS.model.on('applyOp',... causes textarea to lose focus HOT 1
- Alternative package for ShareDB and Meteor HOT 1
- Saving editor content to database HOT 1
- how to sync share js to the local file when something change on the server
- No compatible binary build found for mizzao:[email protected] HOT 1
- ShareJS not defined in Meteor 1.6 HOT 10
- Document was opened but closed right away
- does not save document HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-sharejs.