Page 168 of 235

Re: The Glowfic Constellation

Posted: Tue Jan 31, 2017 6:49 pm
by Throne3d
I didn't realize Lazarus worked on TinyMCE (the RTF editor)! I could've sworn it had something about that not being supported for reasons. (Anyway, I have just installed Lazarus on Firefox since apparently I only had it on Chrome, so thank you for reminding me.)

@Kappa: Lazarus might be gadget-compatible if you use Firefox? Firefox has some add-on support. I'm not sure if it's available for iOS, but it should be for Android, though you might not want to switch to it.

Re: The Glowfic Constellation

Posted: Tue Jan 31, 2017 7:12 pm
by Marri
So the thing you are thinking of is pretty explicitly a hack, because it goes like so:
- You work in HTML editor by default
- I cannot have the RTF button work unless I initialize it on page load
- Once page is loaded and RTF editor is initialized, I then say "oh, you're in HTML mode, get rid of the RTF editor please"
- The RTF editor has in this time processed whatever you've typed, so it adds a whole bunch of totally arbitrary tags everywhere, so this then displays in the HTML mode (You can see an example of this by switching between HTML and RTF mode a few times)

So right now my horribly hacky way to fix that is to say "this is what the server knows the content should be, so just use that damnit." But you're hitting the case where sometimes Firefox tries to be helpful and restore your lost text upon accidental refresh, but the server doesn't know you had an accidental refresh, so Firefox keeps your lost text just long enough to see before my code goes "ugh, TinyMCE is trying to muck up your content with random tags, FIX IT" and overwrites you back to blank.

I have not yet convinced RTF mode not to do the thing. It's very annoying.

Re: The Glowfic Constellation

Posted: Tue Jan 31, 2017 7:14 pm
by Throne3d
Hm – why can you not initialize the RTF editor later? I think there's a Javascript call to initialize it, somewhere – or I think you can transition to that from the current setup – so couldn't we just use that when necessary?

Re: The Glowfic Constellation

Posted: Tue Jan 31, 2017 11:58 pm
by DanielH
In think PDV’s gif-freezing snippet does basically the same thing as what I linked, but mine lets you enable animation on mouseover so it still is available for content that might use it, but not distracting otherwise.

Re: The Glowfic Constellation

Posted: Wed Feb 01, 2017 12:39 am
by Marri
I am not yet convinced of the urgency of animated gif removal such that I want to refactor image uploads or install additional Javascript that may reduce browser compatibility; the tradeoffs may change later.

Re: The Glowfic Constellation

Posted: Wed Feb 01, 2017 1:30 am
by DanielH
According to Can I Use It, the percentage of browsers supporting the canvas element is in the high 90s. Whatever jQuery’s requirements are probably cut down the number of browsers that would fail there.

However, it doesn’t yet have graceful fallback, so it makes sense to avoid it if you want to support pre-html5 browsers.

Re: The Glowfic Constellation

Posted: Wed Feb 01, 2017 6:30 am
by Throne3d
It seems like canvas isn't supported by IE8 and below.

We should probably come up with a list of browsers we're even trying to support, sometime, like suggested in issue #133.

Re: The Glowfic Constellation

Posted: Wed Feb 01, 2017 8:57 pm
by Moriwen
So I was re-keywording icons today and discovered that due to the marvelousness of the Constellation I can click on an icon of mine, see all the posts I've made using that icon, and comb through to find a favorite phrase from one to use as a keyword. This is so great and I am so glad the Constellation exists and now I have an icon called "kangaroos? really?"

<33333 Marri-and-Throne

Re: The Glowfic Constellation

Posted: Wed Feb 01, 2017 10:47 pm
by Kappa
<333333333333333333333

(what did the kangaroos do)

Re: The Glowfic Constellation

Posted: Wed Feb 01, 2017 11:02 pm
by DanielH
According to the search feature, be chased at superspeed by Eclipse!Felix, or at least be threatened to chasing.