Итак… Я экспериментировал с outlet’ами и, не сумев отрендерить свой HTML в один из них, добавил это
Это было в разделе редактирования HTML/CSS → /head компонента темы.
<script type='text/x-handlebars' data-template-name='application'>
<div class="test-div">
</div>
</script>
Теперь мое приложение пустое. Могу ли я зайти в настройки администратора откуда-то еще, чтобы отключить плагин?
Вы можете войти в безопасный режим, чтобы отключить все сторонние плагины и темы.
Просто перейдите по адресу discourse.example.com/safe-mode
Упустил документацию
This guide explains how to use Discourse’s Safe Mode to troubleshoot issues with themes and plugins.
Required user level: All users
Discourse offers a “JavaScript Safe Mode ” that allows any user to isolate the root cause of JavaScript issues caused by plugins, themes, or theme components. This feature is particularly useful for troubleshooting problems on your Discourse site.
Accessing Safe Mode
To access Safe Mode , follow these steps:
Open a new browse…
Именно то, что я искал, спасибо!
Есть ли какие-то идеи, почему data-teplate-name='/connectors/above-main-outlet' не работает?
Я также пробовал другие точки подключения плагинов, например /connectors/some-outlet-name, но пока не смог ничего отобразить на странице.