Questions tagged [firepad]

An open source collaborative code and text editor. Share documents and see changes occur in real-time.

Firepad is an open source module that developers can add to their web projects. It allows real-time collaboration on code as well as rich text. Behind the scenes, it uses operational transformations and Firebase for state synchronization and data persistence.

41 questions
26
votes
1 answer

Proper authorization rules for protected content in firebase

Is there a best practice approach to proper authorization rules for protected content in a firebase app using firepad specifically By protected content I mean where a user creates a document and only shares it with certain other users). Also I…
abaker
  • 407
  • 1
  • 4
  • 8
9
votes
1 answer

How to type using cypress .type() inside the codemirror editor?

I am writing some cypress test for the Codemirror Editor. I have use cypress to type in the input field. I am trying to achieve the cy.type() in the CodeMirror Editor. The Data I have in codemirror is inside the span.
        
Rahul Thawal
  • 241
  • 1
  • 3
  • 13
7
votes
1 answer

Firebase JSON Security and Arrays

We'd like to use Firepad in our (mostly non-Firebase hosted) project, but we're having some troubles figuring out the best way to approach the problem. Basically, we have many users, and each user can be a member of many groups. These "groups" each…
Jake Wood
  • 579
  • 1
  • 7
  • 18
6
votes
2 answers

Real time collaboration with CodeMirror

I started this little project where I would do real time collaboration on code using CodeMirror. I have a msgs system setup such its easy to pass objects from one user to another. My problem is getting it integrated with CodeMirror. I found out that…
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283
3
votes
0 answers

Firepad Replay Video (Playback)

Is there any way to use Firepad to watch a video of edits to a document, as if the edits were being made it real time?
3
votes
3 answers

React.js Firebase and Firepad Component

I am trying to spin up the Firepad Editor inside of my React Component, but I am encountering an error. Here is my Component: import React, { Component } from 'react'; import * as firebase from 'firebase'; import CodeMirror from 'codemirror'; import…
Niko h
  • 31
  • 5
2
votes
1 answer

Multiple Firepads

I run a reviews website where we have a team of sub editors who work on reviews prior to publication. We're currently using Google Docs for this step, but I'm redeveloping the backend and want to bring this in house using Firepad. If my…
PeteSE4
  • 413
  • 3
  • 18
2
votes
0 answers

Multi page support in Firepad or other editor

I'm working on creating an in-browser document editor. One of the requirements is to visually split long document into multiple A4 pages (on screen). Exactly the same way as MS Word or Google docs do. Came across Firepad and I cannot find anywhere…
2
votes
2 answers

Using firepad with node.js

How would I modify the text in a firepad editor on my webpage using Node? What I'm trying to do is have the user upload a file, then read the contents of the file, and replace the firepad contents with the uploaded file's contents. I see that…
rasen58
  • 4,672
  • 8
  • 39
  • 74
2
votes
1 answer

How do I get the latest Firebase and Firepad version from Firebase cdn?

The firebase CDN does not appear to have an API or a "latest" tag. The suggestion is: A quick google shows that different sites have a lot of different version loading. I…
Paul Marrington
  • 557
  • 2
  • 7
2
votes
1 answer

code replay reading object in each revision Id using firepad+firebase+ace

I am using firebase, firepad and ace technology. I am able to write a document by firepad and ace and stores it in firebase, at different times.I see history being generated in firebase. Next thing is I need to add piece of code, where I can…
Shruts_me
  • 843
  • 2
  • 12
  • 24
2
votes
0 answers

Read array Objects from Firebase + Firepad + Ace Editor

I am storing the data to the Firebase when the user starts typing in the ACE editor with the help of firepad. The data is stored in the Firebase like an Array. Each character in array index. I just typed "Hi Its" then "Hi Its Nithi" then inserted…
Max
  • 71
  • 9
2
votes
1 answer

Firepad fetch and save the content

What I need is to save the content (html) of firepad periodically in a database. I tried to save that information with a cron service which call a page that with an ajax request send the content to a second php page that do the job. If I call…
appersiano
  • 2,670
  • 22
  • 42
1
vote
0 answers

Collaborative editor other users cursor modification

I am using CodeMirror and Firepad to create a webapp for collaborative code editor. I want to modify the styling of the cursors. I am able to modify the cursor of the user using the CodeMirror CSS class .CodeMirror-cursor. But I am not able to…
1
vote
1 answer

getting an error that 'the process cannot access the file because it is being used by another process' in my dot net program

I tried 'using' but it says that the method is not Idisposable. I checked for running processes in Task Manager, nothing there. My goal is to upload a file from local directory to the Rich Text editor in my website. Please help me resolve this…
Leandercb
  • 13
  • 2
1
2 3