I may be wrong but I don’t think it’s possible to pull Discourse objects into the Onebox gem without requiring them as a dependency in some way. And even then, I’m not sure it’s a wise move. I think of Onebox as a separate entity that doesn’t require Discourse.
joebuhlig
(Joe Buhlig)
2
Связанные темы
| Тема | Ответов | Просм. | Активность | |
|---|---|---|---|---|
| How to access discourse username from an iframe? | 0 | 496 | 13.11.2020 | |
| Triggering account creation/login on external service when a user logs in on discourse | 11 | 462 | 06.12.2024 | |
| OneBox for embedded comment post | 0 | 597 | 08.09.2022 | |
| Onebox looks horrible on Discourse Comments (below WP Post) | 18 | 2511 | 27.06.2018 | |
| Custom Onebox engine | 6 | 2340 | 21.12.2016 |