mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-03 15:32:30 +02:00
Desktop, Mobile: Plugins: Name webview root attribute so that it can be styled
This commit is contained in:
parent
3ea403d004
commit
75b8caf816
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user