GithubHelp home page GithubHelp logo

collaborative-text-editor's People

Contributors

ankeetmaini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

collaborative-text-editor's Issues

Invalid key in subscription auth data: 'INSERT_YOUR_KEY_HERE'"

I am receiving this error even i pasted the key from pusher dashboard:
Pusher : Error : {"type":"WebSocketError","error":{"type":"PusherError","data":{"code":null,"message":"Invalid key in subscription auth data: 'INSERT_YOUR_KEY_HERE'"}}}
warn @ pusher.min.js:8
(anonymous) @ pusher.min.js:8
t.emit @ pusher.min.js:8
error @ pusher.min.js:9
t.emit @ pusher.min.js:8
message @ pusher.min.js:9
t.emit @ pusher.min.js:8
e.onMessage @ pusher.min.js:8
socket.onmessage @ pusher.min.js:8
t.onEvent @ pusher.min.js:9
t.onChunk @ pusher.min.js:9
(anonymous) @ pusher.min.js:9
t.emit @ pusher.min.js:8
e.onChunk @ pusher.min.js:8
n.onreadystatechange.n.onprogress @ pusher.min.js:9
i used javascript key can you suggest me what I am doing wrong even i enable
Enable client events from settings

getElementById being called on a class.

.js file
var doc = document.getElementById('doc');

.html file

<div class="doc">
	<div class="doc__background-ribbon"></div>
	<div class="doc__text-editor hidden"></div>
</div>

getElementById will not work on this, either use getElementsByClassName() or switch the .doc attribute to a #doc attribute.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.