Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用cms.plugins.picture插件通过 django cms 将图像添加到我的网站。我需要指定要添加的图像的类和 id 属性。如何从 cms 或模板系统中做到这一点?
cms.plugins.picture
我发现这是不可能的。因此,我使用 jQuery 在文档就绪处理程序中添加类和 id。