mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	Fix imageless posts when taking a screenshot on an internal page.
This commit is contained in:
		
							parent
							
								
									1a58026b23
								
							
						
					
					
						commit
						b1bda646c4
					
				@ -91,7 +91,7 @@ async function sendMessageToActiveTab(message) {
 | 
				
			|||||||
		return await browser.tabs.sendMessage(activeTab.id, message);
 | 
							return await browser.tabs.sendMessage(activeTab.id, message);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	catch (e) {
 | 
						catch (e) {
 | 
				
			||||||
		console.error("Sending message to active tab failed, you might need to refresh the page after updating the extension.", e);
 | 
							throw e;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,5 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
VERSION=$(jq -r ".version" manifest.json)
 | 
					VERSION=$(jq -r ".version" manifest.json)
 | 
				
			||||||
CHROME_EXTENSION_ID=dfhgmnfclbebfobmblelddiejjcijbjm
 | 
					CHROME_EXTENSION_ID=dfhgmnfclbebfobmblelddiejjcijbjm
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,5 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WEB_EXT_ID="{1410742d-b377-40e7-a9db-63dc9c6ec99c}"
 | 
					WEB_EXT_ID="{1410742d-b377-40e7-a9db-63dc9c6ec99c}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -17,4 +18,4 @@ jq '.name = "Trilium Web Clipper"' manifest.json | sponge manifest.json
 | 
				
			|||||||
web-ext sign --id ${WEB_EXT_ID} --artifacts-dir ../
 | 
					web-ext sign --id ${WEB_EXT_ID} --artifacts-dir ../
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd ..
 | 
					cd ..
 | 
				
			||||||
rm -r "${ARTIFACT_NAME}"
 | 
					rm -r "${ARTIFACT_NAME}"
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,5 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export GITHUB_REPO=trilium-web-clipper
 | 
					export GITHUB_REPO=trilium-web-clipper
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user