Replies: 3 comments 1 reply
-
The follow-up question is: if there is another plugin using iframe, a similar issue could arise. What action should we take to prevent this? |
Beta Was this translation helpful? Give feedback.
-
unsubscribe
Nriver ***@***.***> 于2023年9月25日周一 11:49写道:
… The follow-up question is: if there is another plugin using iframe, a
similar issue could arise. What action should we take to prevent this?
—
Reply to this email directly, view it on GitHub
<#4290 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABH5CCE6Z6RKGTQI4MRCO5LX4D5OHANCNFSM6AAAAAA5FN6VKE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The problem here is the Unfortunately there's no real way to scope plain css. So developers will either need to add specificity to their css selectors to ensure they're only touching their own elements, or they need to make use of Web Components which can scope styles, but it is not nearly as easy or straightforward as adding plain css and elements to the page. |
Beta Was this translation helpful? Give feedback.
-
I've found that https://github.com/SiriusXT/trilium-drawio and https://github.com/rauenzi/Trilium-SingleFile are not compatible at this point. It may have something to do with the CSS for the iframe, as both of them are using iframes.
With both of them installed, Drawio works fine.
However, it makes the page clipped by SingleFile like this, and the height does not look right:
By removing these lines from trilium-drawio, the page for SingleFile will be fine.
Link to the lines to be removed
But it will break Drawio.
😀 What should we do?
@SiriusXT @rauenzi
Beta Was this translation helpful? Give feedback.
All reactions