You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Desktop, Mobile: Plugins: Name webview root attribute so that it can be styled
This commit is contained in:
@@ -51,6 +51,7 @@ const webviewApi = {
|
||||
|
||||
docReady(() => {
|
||||
const rootElement = document.createElement('div');
|
||||
rootElement.setAttribute('id', 'joplin-plugin-content-root');
|
||||
document.getElementsByTagName('body')[0].appendChild(rootElement);
|
||||
|
||||
const contentElement = document.createElement('div');
|
||||
|
||||
Reference in New Issue
Block a user