gpt4 book ai didi

Drupal 7 从 CKEditor 浏览媒体

转载 作者:行者123 更新时间:2023-12-04 05:39:05 24 4
gpt4 key购买 nike

在我们的 Drupal 7 安装中使用 CKEditor 中的添加媒体按钮,然后单击 Library 选项卡时,我们得到以下对话框:

Browing for media

我们想要的是能够拥有过滤器等,就像 Drupal 媒体模块页面的截图一样:

View Library in Drupal Media Module

到目前为止,我们无法弄清楚如何配置媒体模块以拥有这个额外的 View Library 选项。

当用户单击 CKEditor 中的链接按钮时,我们还想要一个类似的功能。

谢谢

最佳答案

屏幕截图来自(不稳定的)2.x 分支。 1.x 和 2.x 之间的更改记录在 here ,其中之一是:

The Library tab in the Media browser is being converted to a Views-powered tab named 'Views library' enabled by default. The old library tab which is deprecated is named 'Library'. This means that Views is now a dependency for 2.x as well.



底线,如果你想要这个功能,你需要安装模块的不稳定分支(虽然我真的不建议这样做,没有很多模块被标记为“不稳定”,所以你应该使用任何一个极其谨慎)。

我认为没有任何(现有)方法可以强制标准 CKEditor 链接按钮使用媒体弹出窗口,因为它是由 CKEditor 模块本身提供的。我认为您需要为 CKEditor 和 Media 编写一个自定义插件才能获得该功能。

关于Drupal 7 从 CKEditor 浏览媒体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11507204/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com