Keita123 1,067 Posted June 22, 2022 Share Posted June 22, 2022 How do you get access to it? I want to post with html tags since my posts often come out weird if I just copy pasted it from GDoc. I think you can't use BBCode or Markdown here, right? Quote Link to comment
Kyuu 5,922 Posted June 22, 2022 ๐ Administrator Share Posted June 22, 2022 25 minutes ago, Keita123 said: How do you get access to it? I want to post with html tags since my posts often come out weird if I just copy pasted it from GDoc. While the editor uses HTML formatting, inputted HTML is heavily restricted and sanitized, so the "source" option is not available for standard users as you can't really use unrestricted HTML formatting. You can paste as plaintext using shift+ctrl+v and apply basic formatting using the editors built in tools instead, however. BBCode is deprecated and no longer supported, and the editor does not support markdown formatting at this time unfortunately. Quote Link to comment
Keita123 1,067 Posted June 22, 2022 Author Share Posted June 22, 2022 26 minutes ago, Kyuu said: You can paste as plaintext using shift+ctrl+v and apply basic formatting using the editors built in tools instead, however. Yeah, that's the part that I donโt want to do. Quote Link to comment
Kyuu 5,922 Posted June 22, 2022 ๐ Administrator Share Posted June 22, 2022 Document editors can be weird when copying and pasting, but there are some good MarkDown editors that should let you copy and paste into the site while preserving formatting if that's your thing. Or at the least you could export to HTML and copy and paste that. I tend to use something like Typora myself but I think others should work well as well. Quote Link to comment
Keita123 1,067 Posted June 22, 2022 Author Share Posted June 22, 2022 I thought html tags don't work. Quote Link to comment
Kyuu 5,922 Posted June 22, 2022 ๐ Administrator Share Posted June 22, 2022 Pasting in raw HTML will not work. The way the editor works is it will preserve some HTML formatting if you copy and pastย textย that was HTML formatted. Your browser will copy this HTML formatting when you CTRL+C it, and then will preserve some of that formatting when pasted again. However, the amount of formatting you can preserve is restricted. Only basic styling is preserved. Generally, raw HTML editing / posting isn't something anyone would need, and providing a source option might mislead people into thinking they have more editor flexibility than they really do. to;dr technically modern browser editors are just heavily restricted and sanitized HTML. We no longer use bbcode or anything like that, but it's also absolutely not raw HTML support either. Hopefully that makes sense lol. Quote Link to comment
Keita123 1,067 Posted July 10, 2022 Author Share Posted July 10, 2022 I've tried Markdown editors, converting it to HTML, but no matter what I do the color of the text will always be black when copied here instead of Automatic. So unless I use light mode, the text won't be visible. And I can't change it with the textbox's color changed. Quote Link to comment
siku 41 Posted August 29, 2022 Share Posted August 29, 2022 I wrote a simple script to setย style="color:inherit;"ย on some HTML tags. This should fix the color issue when pasting. https://forum-post-helper.netlify.app/color-inherit.html So you would get some HTML code from Markdown or otherwise, and paste it into the text area. After clicking the button you can copy the preview and paste it into the forum editor. I noticed however that it doesn't work when pasting only one paragraph. Quote Link to comment
Amomonya 143 Posted September 15, 2022 Soaked Member Share Posted September 15, 2022 anyone know how to code block on forum Quote Link to comment
Kyuu 5,922 Posted September 16, 2022 ๐ Administrator Share Posted September 16, 2022 There are some issues with formatting when copying and pasting, but it can be a difficult problem to solve, as you may sometimes want custom colors to be preserved when copying over. You should be able to reset the text color using the text color button in the editor, however, Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.