feat: Added "Image from URL" option and markdown image syntax support to Super. Also allows pasting images from copied web content (#2218)

This commit is contained in:
Aman Harwara
2023-02-25 11:27:03 +05:30
committed by GitHub
parent adff5979be
commit a15fc1ed1d
14 changed files with 333 additions and 31 deletions

View File

@@ -24,7 +24,7 @@ declare global {
}
}
import { disableIosTextFieldZoom } from '@/Utils'
import { disableIosTextFieldZoom, getPlatform } from '@/Utils'
import { IsWebPlatform, WebAppVersion } from '@/Constants/Version'
import { DesktopManagerInterface, Platform, SNLog } from '@standardnotes/snjs'
import ApplicationGroupView from './Components/ApplicationGroupView/ApplicationGroupView'
@@ -101,7 +101,7 @@ if (IsWebPlatform) {
setTimeout(() => {
const device = window.reactNativeDevice || new WebDevice(WebAppVersion)
window.platform = device.platform
window.platform = getPlatform(device)
startApplication(window.defaultSyncServer, device, window.enabledUnfinishedFeatures, window.websocketUrl).catch(
console.error,