Skip to content

fix: conditionally show items in insert figure toolbar#1477

Open
MonsterDruide1 wants to merge 1 commit intooverleaf:mainfrom
MonsterDruide1:main
Open

fix: conditionally show items in insert figure toolbar#1477
MonsterDruide1 wants to merge 1 commit intooverleaf:mainfrom
MonsterDruide1:main

Conversation

@MonsterDruide1
Copy link
Copy Markdown

Description

Removes the options for inserting an image from another project or by downloading an external URL, if this feature has been determined to be disabled by the lack of configuration.

The conditions have been copied from insert-figure-dropdown.tsx

Related issues / Pull Requests

In the community issue, linkedUrlProxy cannot be configured. Therefore, trying to download any image from an external URL fails through trying to read linkedUrlProxy.url with linkedUrlProxy=undefined in UrlHelper.mjs. However, this window and configuration should not even be accessible in this case, which is fixed in this PR.

Contributor Agreement

I am hereby signing off all my copyrights and declare this patch to be in the public domain (CC0). I don't plan on signing your contribution agreement, but please fix your code anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant