Use published matrix-wysisyg

This commit is contained in:
Florian Duros 2022-10-10 14:28:30 +02:00
parent 3080d14c00
commit 200af78c2a
No known key found for this signature in database
GPG key ID: 9700AA5870258A0B
3 changed files with 7 additions and 6 deletions

View file

@ -57,6 +57,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@matrix-org/analytics-events": "^0.2.0",
"@matrix-org/matrix-wysiwyg": "^0.0.1",
"@matrix-org/react-sdk-module-api": "^0.0.3",
"@sentry/browser": "^6.11.0",
"@sentry/tracing": "^6.11.0",
@ -94,7 +95,6 @@
"matrix-events-sdk": "^0.0.1-beta.7",
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
"matrix-widget-api": "^1.1.1",
"matrix-wysiwyg": "link:../matrix-wysiwyg/platforms/web",
"minimist": "^1.2.5",
"opus-recorder": "^8.0.3",
"pako": "^2.0.3",

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
import React, { useCallback, useState } from 'react';
import { useWysiwyg } from "matrix-wysiwyg";
import { useWysiwyg } from "@matrix-org/matrix-wysiwyg";
import { IEventRelation, MatrixEvent } from 'matrix-js-sdk/src/models/event';
import { useRoomContext } from '../../../../contexts/RoomContext';

View file

@ -1549,6 +1549,11 @@
resolved "https://registry.yarnpkg.com/@matrix-org/analytics-events/-/analytics-events-0.2.0.tgz#453925c939ecdd5ca6c797d293deb8cf0933f1b8"
integrity sha512-+0/Sydm4MNOcqd8iySJmojVPB74Axba4BXlwTsiKmL5fgYqdUkwmqkO39K7Pn8i+a+8pg11oNvBPkpWs3O5Qww==
"@matrix-org/matrix-wysiwyg@^0.0.1":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@matrix-org/matrix-wysiwyg/-/matrix-wysiwyg-0.0.1.tgz#8a6dc546f5c2b44be9cf96eec2380071b70a03e3"
integrity sha512-sInK28oglwY8vgfwVO+SdDMbG3PgaBIkiFHPH+zAZjuSt28oWCLyLfhNKFy44l3cvFy8TUMRDftmimGaLJI7DQ==
"@matrix-org/olm@https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.8.tgz":
version "3.2.8"
resolved "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.8.tgz#8d53636d045e1776e2a2ec6613e57330dd9ce856"
@ -6970,10 +6975,6 @@ matrix-widget-api@^1.1.1:
"@types/events" "^3.0.0"
events "^3.2.0"
"matrix-wysiwyg@link:../matrix-wysiwyg/platforms/web":
version "0.0.0"
uid ""
mdurl@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"