Giter Club home page Giter Club logo

Comments (9)

Zuoqiu-Yingyi avatar Zuoqiu-Yingyi commented on May 23, 2024

将如下片段塞到主题/全局样式中即可令所有挂件默认居左

.b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; }

from widget-drawio.

crendy avatar crendy commented on May 23, 2024

将如下片段塞到主题/全局样式中即可令所有挂件默认居左

.b3-typography .iframe, .protyle-wysiwyg .iframe { text-align: left; }

挂件的默认大小呢?

from widget-drawio.

Zuoqiu-Yingyi avatar Zuoqiu-Yingyi commented on May 23, 2024

挂件的默认大小呢?

.b3-typography iframe, .protyle-wysiwyg iframe { width: 765px; height: 256px; }

from widget-drawio.

crendy avatar crendy commented on May 23, 2024

👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去 😄

from widget-drawio.

Zuoqiu-Yingyi avatar Zuoqiu-Yingyi commented on May 23, 2024

👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去 😄

已经有了: 增加公共代码 js/css 片段

from widget-drawio.

crendy avatar crendy commented on May 23, 2024

👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去 😄

已经有了: 增加公共代码 js/css 片段

噢噢 我刚提了😅

from widget-drawio.

crendy avatar crendy commented on May 23, 2024

👍🏻👍🏻👍🏻👍🏻 这个得改主题的css,如果思源笔记支持在某个地方做全局设置就好了,我给思源笔记提个建议去 😄

已经有了: 增加公共代码 js/css 片段

没看明白怎么使用😅

from widget-drawio.

Zuoqiu-Yingyi avatar Zuoqiu-Yingyi commented on May 23, 2024

没看明白怎么使用😅

就以上面的两个片段举例
在文件(没有则新建) 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.

crendy avatar crendy commented on May 23, 2024

收到,谢谢!

from widget-drawio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.