https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2014-11-13T14:17:10ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #3652: Forum preview doesn't show live linkhttps://redmine.gc.cuny.edu/issues/3652?journal_id=175282014-11-13T14:17:10ZMatt Goldmattgold@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/1495">Screen Shot 2014-11-13 at 9.16.44 AM.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1495/Screen%20Shot%202014-11-13%20at%209.16.44%20AM.png">Screen Shot 2014-11-13 at 9.16.44 AM.png</a> added</li></ul><p>Here's a screenshot showing the preview when I paste the URL alone into the posting box</p> CUNY Academic Commons - Bug #3652: Forum preview doesn't show live linkhttps://redmine.gc.cuny.edu/issues/3652?journal_id=176132014-11-21T14:33:48ZBoone Gorgesboone@gorg.es
<ul><li><strong>Assignee</strong> changed from <i>Boone Gorges</i> to <i>Raymond Hoh</i></li></ul><p>I can't reproduce the described behavior. Entering the text of the message from the screenshot results in a preview that contains a properly formatted (ie, clickable) link.</p>
<p>When the email is sent, the link is translated into the following format:</p>
<pre>The CUNY Academic Commons: What Will You Build? [http://commons.gc.cuny.edu/what-will-you-build/]</pre>
<p>This translation is to ensure proper formatting across browsers, regardless of HTML support. This behavior can probably be modified to do the translation only in the context of plaintext emails, but that's probably a subject for a different ticket.</p>
<p>Ray, do you have any idea why Matt might have experienced this?</p> CUNY Academic Commons - Bug #3652: Forum preview doesn't show live linkhttps://redmine.gc.cuny.edu/issues/3652?journal_id=176362014-11-21T19:45:52ZRaymond Hoh
<ul></ul><blockquote>
<p>Ray, do you have any idea why Matt might have experienced this?</p>
</blockquote>
<p>From Matt's description, it sounds like he used TinyMCE's link buttons to add a link. Currently, the live preview plugin only updates when a key is typed on the keyboard and not during mouse actions. So if you use TinyMCE, you have to type something into the editor afterwards for live preview to trigger.</p>
<p>Kind of annoying I know. I can look at adding TinyMCE support to trigger live preview.</p> CUNY Academic Commons - Bug #3652: Forum preview doesn't show live linkhttps://redmine.gc.cuny.edu/issues/3652?journal_id=176372014-11-21T20:04:17ZBoone Gorgesboone@gorg.es
<ul><li><strong>Category name</strong> set to <i>Group Forums</i></li><li><strong>Priority name</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> set to <i>1.8</i></li></ul><p>Ah, interesting. In that case it's quite minor.</p> CUNY Academic Commons - Bug #3652: Forum preview doesn't show live linkhttps://redmine.gc.cuny.edu/issues/3652?journal_id=190982015-04-21T22:46:01ZRaymond Hoh
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li></ul><p>After looking into this a bit more, the link button is actually using the WP quicktags toolbar and not TinyMCE (since we haven't enabled TinyMCE yet).</p>
<p>I've added support for the WP quicktags toolbar as of <a href="https://github.com/cuny-academic-commons/cac/commit/866a3a317e9a1d1b02488efedc6f7fa3a401dadc" class="external">commit 866a3a3</a>. Fix is live on cdev for testing as well.</p>
<p>Once we enable the TinyMCE editor in bbPress, I'll need to look at supporting TinyMCE buttons as well. But for now, this fixes the immediate issue.</p>