Web: Editor: Fixed document type for creation url.
This commit is contained in:
parent
5a83f41348
commit
f7bcbf54e0
@ -555,7 +555,7 @@ function Editor({
|
||||
config.editorConfig.createUrl = combineUrl(
|
||||
window.location.origin,
|
||||
window.DocSpaceConfig?.proxy?.url,
|
||||
`/filehandler.ashx?action=create&doctype=text&title=${encodeURIComponent(
|
||||
`/filehandler.ashx?action=create&doctype=${documentType}&title=${encodeURIComponent(
|
||||
defaultFileName
|
||||
)}`
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user