The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code to keep highlighted text selected in a post?

4 posters

Go down

In progress Code to keep highlighted text selected in a post?

Post by KemicalCandy August 11th 2017, 4:22 am

Hello,

I searched around for this already but found nothing, so I am posting my issue here.

When I am writing a post on my forum and go to highlight a portion of the text in order to apply multiple BB codes (say I want to bold and italicize the selected text), the highlight disappears and "unselects" my text after I apply only one code. That being said, I then have to go back into the post and re-highlight the same piece of text just to apply the next code. I have never had an issue with this on any other forum other than Forumotion forums, and it's quite annoying and simply an inconvenience. On all other forums, the text has always remained highlighted and allows me to apply multiple codes, like bold, italics, and text size without having to re-select the text.

Is there a code that can fix this?

Thank you to anyone that helps!
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by Draxion August 11th 2017, 4:56 am

Hi there,

Sorry to hear this is happening. Could you by chance send me via PM the link to the site in question along with a testing account so I could use to log in and see what is going on? Thanks.

~ Draxion
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by Draxion August 11th 2017, 8:29 am

@KemicalCandy, after testing out the problem, I found the issue you are experiencing. Whenever you are typing in the editor you are viewing the coding format and therefore when you highlight over text and click the button to either bold or italic, it will stop highlighting. You need to switch the editor mode to WYSIWYG (what you see is what you get) and possibly make that by default.

Admin panel --> General --> Messages and Emails --> Configuration --> Messages --> Activate the WYSIWYG mode by default in the posts (yes)
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by KemicalCandy August 11th 2017, 10:28 pm

Thank you for checking this out!

I, along with many of my other members, tend to write posts in the regular format that allows you to see the BB coding. Is there any code that I can apply in the admin panel that will allow highlighted text to remain selected in this posting format, or is it only possible in the WYSIWYG format?

Thank you again!
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by SLGray August 11th 2017, 10:39 pm

The topic was posted in the wrong section, so I have moved it to the correct section.
Please read our forum rules:  ESF General Rules


Code to keep highlighted text selected in a post? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51452
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by KemicalCandy August 15th 2017, 11:34 pm

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by KemicalCandy August 19th 2017, 4:39 am

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by KemicalCandy August 21st 2017, 4:52 am

bump
KemicalCandy
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Code to keep highlighted text selected in a post?

Post by Ape August 21st 2017, 12:43 pm

Hello.

Sorry this is only possible in the WYSIWYG mode Sad


Code to keep highlighted text selected in a post? Left1212Code to keep highlighted text selected in a post? Center11Code to keep highlighted text selected in a post? Right112
Code to keep highlighted text selected in a post? Ape_b110
Code to keep highlighted text selected in a post? Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19075
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum