Comments (4)
Hi yangwenjuan6, could you provide more information please. In what type of project are you trying to import the dependency. It would be great if you could provide an example where this error is reproduced.
from document-editor-react.
@aleksandrfedorov97 same here when I try
import { DocumentEditor } from '@onlyoffice/document-editor-react';
import * as React from 'react';
import './style.css';
var onDocumentReady = function (event) {
console.log('Document is loaded');
};
export default function App() {
return (
<div>
<DocumentEditor
id="docxEditor"
documentServerUrl="http://localhost/"
config={{
document: {
fileType: 'docx',
key: 'Khirz6zTPdfd7',
title: 'Example Document Title.docx',
url: 'https://example.com/url-to-example-document.docx',
},
documentType: 'word',
editorConfig: {
callbackUrl: 'https://example.com/url-to-callback.ashx',
},
}}
events_onDocumentReady={onDocumentReady}
/>
</div>
);
}
from document-editor-react.
jmmccota, could you provide an example project where this problem is reproduced?
from document-editor-react.
This issue was closed due to no response.
from document-editor-react.
Related Issues (10)
- DocsAPI is not defined HOT 3
- Great project! How to insert characters to the Word document cursor position it
- How to use "events_onRequestHistory" HOT 1
- How to use “onRequestUser” HOT 2
- How to add plugins ? HOT 1
- How do I display the Close button in the top right corner HOT 1
- Is there any way to track the current page being viewed?
- 我接入document-editor-react后,工程报错 HOT 2
- Remove jsonwebtoken package 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 document-editor-react.