# 如果卸载了操纵过页面的插件，会发生什么？

**URL:** <https://meta.discourse.org/t/what-happens-if-you-uninstall-a-plugin-that-manipulated-pages/98101>\
**Category:** Support\
**Created:** [2018年九月26日 10:51 UTC](https://meta.discourse.org/t/what-happens-if-you-uninstall-a-plugin-that-manipulated-pages/98101 "2018-09-26T10:51:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2018年九月26日 11:00 UTC](https://meta.discourse.org/t/what-happens-if-you-uninstall-a-plugin-that-manipulated-pages/98101/2 "2018-09-26T11:00:33Z")

</div>

你可以在此处找到官方插件：[https://meta.discourse.org/tags/c/plugin/official](https://meta.discourse.org/tags/c/plugin/official)

这些插件由我们（Discourse 团队）维护，因此通常不会引发问题。官方插件带有你描述过的绿色对勾标记。

第三方插件 **可能** 会损坏你的 Discourse 实例。在绝大多数情况下，卸载该插件即可解决问题，但并非总是如此。

我的建议是仅安装最少数量的插件，转而使用 #Customization > Theme 分类下日益丰富的主题集合。它们的安装安全性要高得多。你提到的图片画廊插件，现在可以通过类似这样的主题来实现：

> [@瓷砖图片库](https://meta.discourse.org/t/tiles-image-gallery/81950):
>
> warning 此组件已弃用。Discourse 现已内置平铺画廊功能： 响应式网格画廊！ 基于 [David Desandro](https://github.com/desandro) 的开源库 [Masonry](https://masonry.desandro.com/) 和 [ImagesLoaded](https://imagesloaded.desandro.com/) 构建 - [MIT 许可](https://desandro.mit-license.org/) “… 在 MIT 许可下发布。请随意使用。” 我该如何使用此组件？ 此组件会在编辑器中添加一个按钮。 因此，您只需： 使用默认的 Discourse 上传按钮上传一批图片，然后选中这些代码： 点击画廊按钮。 您将在预览窗格中看到所选图片的静态预览： 完成！ 还有其他需要注意的事项吗？ 此组件不包含任何颜色或背景样式。它将继承当前主题的样式。 以下是该主题组件在不同主题上的运行效果： 此主题组件还保留了默认的 Discourse 灯箱行为，这意味着点击任何图片都会在原生灯箱查看器中打开它们。 我…

---

_[View the full topic](https://meta.discourse.org/t/what-happens-if-you-uninstall-a-plugin-that-manipulated-pages/98101)._
