User styled posts?

I’ve been testing a move to Discourse for my company’s community.

We were on Vanilla but we don’t plan to import it to Discourse.

However, one feature of Vanilla that our community really loves is the ability to write custom CSS, HTML to make styled posts. We have a fairly active group of users who offer design work to other users and they use those types of posts as a way of showing off their skill.

I understand how that activity seems counter to Discourse’ current product, but I’m wondering if anyone has ever successfully figured out a way to allow users to create styled posts on Discourse.

Would it help if they could use a limited set of divs which would be defined in site wide CSS?

See here:

Per post CSS would require a custom plugin at the moment, have not seen this request pop up too much over the years.

One thing you could lean on is Theme Creator, create and show themes without installing Discourse! this would allow your community to create full fledged Discourse themes and components.

Whoa, very cool. Thank you and please keep up the good work

Also, if someone creates a theme you want to share, your community’s admin can import it and enable anyone in the community to set it as their personal default.

Please excuse me for revisiting this. The OP in this thread was the one who created our Community, but is no longer in that position. I admit to being clueless and please excuse me if I’m out of line here, but is there something we can do that will allow users to use .css in threads to make styled opening posts for their topics?

The recent update to close the exploit killed the coding they were using.

I’ve tried to make sense out of what I’ve read here, but it’s a bit beyond me. Is it possible to create a theme that will allow users to use .css in posts without ruining security?

Not really? If you need a full CSS playground that suggests the use of something like codepen.com versus Discourse.

We have an existing Discourse forum.The recent patch killed the styling / coding used to individualize threads (and apparently we are not the only ones). We’d prefer finding a way to allow css or html for things to shutting down our present forum and moving to a new system.

CSS를 공유해 주시겠어요? 너무 엄격한 셀렉터가 있어서 ‘범위를 넓혀야’ 할 수도 있습니다.

현재 표준 Discourse 환경에 BBcode와 플러그인을 통해 활성화된 BBcode 색상이 적용되어 있습니다. 제 이해가 맞다면, 코드 사용 권한은 화이트리스트에 추가되었지만, 보안 업데이트 이후로는 더 이상 작동하지 않습니다. 아이러니하게도, 보안 문제를 우리가 먼저 알려준 것이 이 문제로 인해 우리의 코딩 기능이 사라지게 된 원인이 되었습니다. 플러그인이 필요하다는 말을 들었지만, 제가 직접 플러그인을 만들 시간이나 자원이 전혀 없습니다.

BBCode 색상 사용 예시를 몇 가지 공유해 주실 수 있나요? 화이트리스트 설정이 너무 엄격할 수도 있습니다.

현재 이 플러그인들을 사용하고 있습니다.

이전에는 <span> 태그를 사용하여 스레드 게시물을 일부 수정할 수 있었습니다. 이전 관리자가 이를 화이트리스트에 추가해 두었었습니다. 한 사용자가 잠재적인 클릭재킹(clickjacking) 취약점을 발견했고, 이를 보고한 후 적용된 업데이트로 인해 <span> 태그를 사용할 수 없게 되었습니다. 화이트리스트에 다시 추가하면 작동할 수 있지만, 새로운 업데이트가 적용될 때마다 다시 제거될 가능성이 높습니다. 적절한 플러그인을 사용하는 경우 이러한 문제는 발생하지 않는다고(그렇게 들었습니다) 합니다.

BBCode 색상 기능이 제대로 작동하지 않는 게시글 예시를 몇 가지 공유해 주실 수 있나요? 해당 플러그인은 공식적으로 지원되는 플러그인입니다. 버그가 있다면 수정하겠습니다.

알겠습니다.

클릭재킹에 대한 코드는 한 사용자가 발견하여 저에게 전달했습니다.
저는 코딩을 하는 사람이 아닙니다. 연결 방식에 대해 제가 알고 있는 것은 제가 들은 내용, 즉 다음과 같은 것뿐입니다:

이 문제는 bbcode와 bbcode-color 플러그인에 한정된 것이므로, 모든 Discourse 사이트에 영향을 미치는 문제는 아닙니다. 알려주셔서 감사합니다. 반드시 수정하겠습니다.

공개적으로 잠재적으로 악의적인 코드를 올리고 싶지 않으므로, 관련 정보를 개인 메시지로 보내겠습니다.