update readme and format

This commit is contained in:
raphael 2021-05-11 11:26:20 +02:00
parent 0e81e70936
commit 715ec149d7
3 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,7 @@ This is a lightweight NodeJS collaborative Whiteboard/Sketchboard which can easi
- Undo / Redo function for each user - Undo / Redo function for each user
- Drag+Drop / Copy+Paste Images or PDFs from PC and Browsers - Drag+Drop / Copy+Paste Images or PDFs from PC and Browsers
- Resize, Move, Rotate & Draw Images to Canvas or Background - Resize, Move, Rotate & Draw Images to Canvas or Background
- Write text - Write text and sticky notes
- Save Whiteboard to Image and JSON - Save Whiteboard to Image and JSON
- Draw angle lines by pressing "Shift" while drawing (with line tool) - Draw angle lines by pressing "Shift" while drawing (with line tool)
- Draw square by pressing "Shift" while drawing (with rectangle tool) - Draw square by pressing "Shift" while drawing (with rectangle tool)

View File

@ -31,7 +31,7 @@ const config = {
use: ["style-loader", "css-loader"], use: ["style-loader", "css-loader"],
}, },
{ {
test: /\.(png|jpe?g|gif)$/i, test: /\.(png|jpe?g|gif|otf|pdf)$/i,
use: [ use: [
{ {
loader: "file-loader", loader: "file-loader",

View File

@ -331,9 +331,8 @@ function startBackendServer(port) {
socket.emit("whiteboardConfig", { socket.emit("whiteboardConfig", {
common: config.frontend, common: config.frontend,
whiteboardSpecific: { whiteboardSpecific: {
correspondingReadOnlyWid: ReadOnlyBackendService.getReadOnlyId( correspondingReadOnlyWid:
whiteboardId ReadOnlyBackendService.getReadOnlyId(whiteboardId),
),
isReadOnly: ReadOnlyBackendService.isReadOnly(whiteboardId), isReadOnly: ReadOnlyBackendService.isReadOnly(whiteboardId),
}, },
}); });