We are a technical community and love the Insert Code option. Since this is specifically offered for inserting code, why are emoticons enabled in this box?
I would not expect emoticons to appear when an engineer tries to write a colon followed by a p. 😛
Our members are understandably complaining about this behavior. I consider this a bug.
Should I submit a ticket to support?
Solved! Go to Solution.
@mhock - This should be configurable. Can you please try toggling the setting Turn off emojis within preformatted text under Community Admin -> Display -> Emojis. That should hopefully resolve the issue, I see this setting is not checked on your community currently.
Thanks for the quick reply. Sorry for my delay.
As I reviewed the hover over in the Community Admin, it appears this turns it off for the entire Community. Is there any option to only have it off in the "Insert Code" feature? If not, can you explain the purpose of insert code if it doesn't take the content as plain text?
@mhock - This setting is designed to disable emotion shortcuts within any PRE HTML tags, which the Insert Code function leverages. I would not expect it to impact other areas of the community unless PRE tags are getting leveraged elsewhere. I just tested it on your staging environment and it seems to work fine for me:
This is what the HTML markup looks like from that post:
<p>test :)</p> <pre>test :)</pre>
Just confirming you toggle the setting "Turn off emojis within preformatted text" and not "Turn off emojis everywhere"? I left the settings as-is on stage if you'd like to review there.
Thanks for going the extra mile to check the functionality. In my post Turkey stupor, I didn't even see the second option on the page. That is truly pathetic.
I have enabled it and will have happy developers.
Note to users using this solution. There was a change on the Khoros side of things that caused all emojis to be turned off when selecting to turn off emojis with performative text. You now need to use the settings below to have the option for emojis in regular text and not to have them in code blocks.
Want to update this. @mhock is my manager and the original poster. The issue she posted appears to be deeper than the resolution provide. So this does appear to be a bug. The settings that are provided do not work correctly. The settings are set as described above, but when one of our Developers attempted, in a code block, to post the following
WINDOWS: C: "D:" E: LINUX: /dev/sda1 /dev/sdb2 macOS: /dev/disk1s3 /dev/disk3s1s1
The "D:" gets removed as soon as the post button is pushed. If we remove the "E:" the "D:" displays correctly and if we reverse the "D:" and "E:" to :E:" and "D:" the code displays, but to do that could confuse users. I had to wrap the variables in this plain text post with quotes to prevent emoticons, so disreagrd them. After posting if we do refreshes of the screen, we see for a split second a emoticon try to display. I have created a ticket on this with support to investigate. Anyone else run into this issue with formatting?
Welcome to the Technology board!Curious about our platform? Looking to connect on social technology? You've come to the right place!