Closed MansiGoyal06 closed 4 years ago
Hi, the dialog is created by createDialog()
function in the sample file - https://github.com/ckeditor/ckeditor5-collaboration-samples/blob/master/classic-editor-with-real-time-collaboration/samples/classic-editor-with-real-time-collaboration.html#L200.
Just remove it and pass your Cloud Services credentials directly to the cloudServices
object, for example:
watchdog.create( document.querySelector( '.editor' ), {
initialData,
cloudServices: {
tokenUrl: 'your-token-url',
uploadUrl: 'your-upload-url',
webSocketUrl: 'your-ws-url'
},
collaboration: {
channelId: 'your-channel-id'
},
sidebar: {
container: document.querySelector( '.sidebar' )
},
presenceList: {
container: document.querySelector( '.presence' )
}
} );
Thanks for your reply, I am going from the same problem. After making the code hardcoded then also the dialog is asking for the details.
And also after entering the Token URL its ask for to choose the user so how to get rid of this. And make a fully automatic device, which directly serves the Editor.(I am even not interested in users so better if I can remove this property).