Jump to content
Velvet Wings

Plural system code

Recommended Posts

Velvet Wings    202

I've noticed that if you type out text first then highlight it and select the plural system buton to note who was typing, it removes all of the line breaks from the text.

 

The other codes like making something a quote or a spoiler don't do this, so is it possible to change the plural system code to not remove line breaks?

  • High Quality 1

Share this post


Link to post
Share on other sites
kiror    354

I'm so busy with college tasks and assignments lately, as in all previous semesters after the second month of classes, that I won't have time to fix this bug soon.

In 7 weeks the semester will end (July 9th) and just then I'll be able to start fixing this detail you mentioned and the other that when you click to use the plural system code, it doesn't automatically focus the text box in the pop-up. If for some reason I get enough free time to recover myself from the stress of the classes and fix the add-on before that moment, it'll get fixed as soon as possible.

  • High Quality 2

Share this post


Link to post
Share on other sites
kiror    354

You got lucky... I found some time this night.

 

Changes:

  • The add-on is preserving all formatting after applying it;
  • The add-on automatically highlights the TextBox (by triggering an anonymous function 0.2s after the button gets clicked; ugly workaround, I know);
  • The add-on now discards a line break if present, to make it easier to you format your message.
    [PLURALSYS="Example"]
    Something here.
    [/PLURALSYS]


    • Before:
      [PLURALSYS=Example]
       
      Something here.
       
      [/PLURALSYS]
       
    • Now:
      [PLURALSYS=Example]
      Something here.
      [/PLURALSYS]

  • High Quality 2

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×