Emjois will pop up automatically in the wrong places: URLS and Code
Emjois will pop up automatically in the wrong places: URLS and Code
Ben@84171e7c Tuesday 18th July 2023, 16:59:53So happy to find this software. Slowly but surely getting all the remaining kinks worked out and am very happy with the design and layout.
There is one annoying bug I have not yet been able to address. Sometimes when posting URLs, or other text, the software automatically inserts an emjoi when the text matches the code for it. I can usually work around it by adding a space in text, but if it's inside some code, or a shared URL then it breaks the code and also URLs.
It happens on my forum but I've also noticed it happening here in posts on this forum as well.
Example:
In this example from a code box found here on this forum, it shows a cat emoji because the code text matched that emoji. But if you tried to use that code to fix something it would not parse correctly.
If there is no easy way to fix it, maybe there is a way to disable emojis completely in Flatboard software? It would be better to turn off Emjois rather than have it break things when trying to post content.
There is one annoying bug I have not yet been able to address. Sometimes when posting URLs, or other text, the software automatically inserts an emjoi when the text matches the code for it. I can usually work around it by adding a space in text, but if it's inside some code, or a shared URL then it breaks the code and also URLs.
It happens on my forum but I've also noticed it happening here in posts on this forum as well.
Example:
- `feed`π½*RSS feeds**- include `feed.tpl.php`
In this example from a code box found here on this forum, it shows a cat emoji because the code text matched that emoji. But if you tried to use that code to fix something it would not parse correctly.
If there is no easy way to fix it, maybe there is a way to disable emojis completely in Flatboard software? It would be better to turn off Emjois rather than have it break things when trying to post content.
Replies 7
@Fred, time to get rid of auto-emoji, it checks for a certain keystroke and automatically replaces it with emoji.
ex: : ) = π
ex: : ) = π
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well
maybe there is a way to disable emojis completely in Flatboard
yes there is a way
edit this file: (website root)\plugin\FlatBBeditor\js\FlatBBeditor.min.js
remove this part:
document.getElementById("content").oninput=function(){for(var e in map){var n=new RegExp(escapeSpecialChars(e),"gim");this.value=this.value=this.value.replace(n,map[e])}};
Thank you, Tillreetree. This will work great for now. Maybe in a future upgrade emojis can be added to the editor as a pop up menu.
They can still be copied and pasted into text or added from your phone or PC when needed.
This is what I do for favorite posts instead of using the plugin. As the plug-in would sometimes want to add some open </span html when editing a post with favorite posts enabled. π
They can still be copied and pasted into text or added from your phone or PC when needed.
This is what I do for favorite posts instead of using the plugin. As the plug-in would sometimes want to add some open </span html when editing a post with favorite posts enabled. π
Maybe in a future upgrade emojis can be added to the editor as a pop up menu
[ul]
[*] Flatboard: At least when I was replying to this post, there were "π" button in the upper right corner of the textbox to select the emoji
[*] Windows: Windows key + dot "."
[*] Android & iOS: there is a button on the keyboard to select emoji
[/ul]
Haha, that would be the correct way of doing listing, but it's not that.
its
its
[ list ] [ /list ] or [ list=1 ] [ /list ]
- Test 1
- Test 2
- Test 3
- Test 4
- Test 5
- Test 6
Last modified by SurveyBuilder-Admin on Friday 21st July 2023, 19:44:00
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well
Suggested Topics
Fred
started plugin Minify
Resources
PI
started New pages
General Questions
spongebob@b8500609
started Alright Pinhead, your time is UP!
Open Bar
Simon
started solved Espace blanc sur iPad
Bug reports