Comments (9)
将如下片段塞到主题/全局样式中即可令所有挂件默认居左
.b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; }
from widget-drawio.
将如下片段塞到主题/全局样式中即可令所有挂件默认居左
.b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; }
挂件的默认大小呢?
from widget-drawio.
挂件的默认大小呢?
.b3-typography iframe, .protyle-wysiwyg iframe { width: 765px; height: 256px; }
from widget-drawio.
👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去
from widget-drawio.
👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去
😄
已经有了: 增加公共代码 js/css 片段
from widget-drawio.
👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去
😄 已经有了: 增加公共代码 js/css 片段
噢噢 我刚提了
from widget-drawio.
👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去
😄 已经有了: 增加公共代码 js/css 片段
没看明白怎么使用
from widget-drawio.
没看明白怎么使用
😅
就以上面的两个片段举例
在文件(没有则新建) data/snippets/conf.json
中写入如下内容
[
{
"name": "123",
"type": "css",
"enabled": true,
"content": ".b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; }"
},
{
"name": "456",
"type": "css",
"enabled": true,
"content": ".b3-typography iframe, .protyle-wysiwyg iframe { width: 765px; height: 256px; }"
}
]
from widget-drawio.
收到,谢谢!
from widget-drawio.
Related Issues (20)
- 保存为 svg 格式,引用的资源未写入 data-assets 属性中,导致思源清理资源时,勿删资源文件 HOT 1
- 希望能提供,修改保存后变成只读模式,只读模式提供编辑按钮。
- 通过自定义块属性 `custom-lightbox="1"` 设置为只读模式
- 大佬考虑整个excalidraw挂件吗 HOT 2
- edge99 创建时会弹窗选择文件,没有与siyuan关联起来 HOT 2
- 又出现无法和思源关联的情况了 #14 HOT 3
- 刷新页面后,没有绑定到资源文件
- 保存的时候能不弹框 直接保存到思源内部吗? HOT 13
- 打开文档时 可以默认不展示左侧shapes(图形)和 右侧format(格式)视图吗? HOT 7
- 默认的展示比例可以是整页展示(适应窗口大小)吗? HOT 4
- 没有找到存储到思源笔记 HOT 1
- 插入挂件-可以自动弹出新建对话框吗 HOT 4
- 资源文件误删,向前兼容 HOT 4
- 0.1.1 加载出错 HOT 2
- 本地数据可以同步至云端但是其他设备无法找到同步后的文件 HOT 1
- 下载超时,尝试了N次,可以离线加载么? HOT 1
- 新建流程图 无法保存到设备,即使读取后修改也无法自动、手动保存 HOT 3
- 重命名 ctrl+s 保存思源 旧名流程图仍然存在 HOT 6
- 建议将编辑好的文件显示为SVG HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from widget-drawio.