Forum Activity for @ultrajam

SteveX
@ultrajam
11/16/14 01:43:07PM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

Thanks Gary, yes shortcodes are really handy, but the people who I want to use this are already using html, and part of my current job involves training them to update their skills in html5, css3 and jquery.

Limiting that training to Bootstrap seems like a sensible idea (because it is so well worked out, thoroughly tested and perfectly documented).

I'd like them to use Jamroom in some way (of course), and I'm hoping that they will love the tools I am developing to make their lives easier. (and my life too - the last time I had "the pleasure" of working with dreamweaver was about 10 years ago, and it hasn't improved one bit).

Those tools would mean that they can create their stuff without getting bogged down in html (which is what they really, really want), but the tools don't stand a chance of being adopted if they prevent access to the html - and I completely agree with the policy there. If people are willing and able, they should be given all encouragement and support to keep up to date with the fundamentals of the internet. Literacy is a "big thing" in both education and libraries.
SteveX
@ultrajam
11/16/14 09:07:12AM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

Ok, I'll email those. There are quite a few - I hope the purifyer can accept data-* and aria-* attribute wildcards... but I couldn't see how in their docs.

I've been trying to add them via a html_purifier_listener, but get an error in the log saying "Cannot set directive after finalization invoked... "

I can see my section and button tags in the array when I call $_data->get('HTML.AllowedElements'), yet they are still being stripped out.
SteveX
@ultrajam
11/16/14 03:41:11AM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

I was trying with the button element, but a link with classes would do the same thing.
<!-- Standard button -->
<button type="button" class="btn btn-default">Default</button>

But what I am aiming to do is to add most bootstrap 3 elements and components via the TinyMCE templates button.

I don't need the form elements, but classes will be needed for styling, and other attributes for validation.
SteveX
@ultrajam
11/15/14 12:09:42PM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

Also, adding a link with a class, the link is saved but the class is stripped out.
SteveX
@ultrajam
11/15/14 12:06:28PM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

Yes, that does fix it, thanks Brian.

I'm probably missing a step somewhere, but I can't get a button to save in the editor. I have added "button" to the list of Allowed Html Tags for the quota, but it is being stripped out on saving the form. I also tried adding "section" but that is stripped out as well.

Are there limits as to what can be added to Allowed Html Tags or am I missing a step?

Thanks
SteveX
@ultrajam
11/15/14 04:46:19AM
2,584 posts

Jamroom.net search results


Using Jamroom

Hi Michael, theres another astray here:
https://www.jamroom.net/profile/p=6
profile-listings.png profile-listings.png - 166KB

updated by @ultrajam: 11/15/14 04:46:45AM
SteveX
@ultrajam
11/14/14 06:01:44PM
2,584 posts

Jamroom.net search results


Using Jamroom

Search results on jamroom.net currently look a little out of line on Firefox on a laptop:
https://www.jamroom.net/search/results/all/1/4?search_string=ning
updated by @ultrajam: 01/08/15 01:19:23PM
SteveX
@ultrajam
11/14/14 04:47:39PM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

In the page:
in-the-page.png in-the-page.png - 56KB

updated by @ultrajam: 11/14/14 04:47:54PM
SteveX
@ultrajam
11/14/14 04:47:09PM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

In the editor:
in-the-tinymce-window.png in-the-tinymce-window.png - 76KB

updated by @ultrajam: 11/14/14 04:47:27PM
SteveX
@ultrajam
11/14/14 04:46:50PM
2,584 posts

TinyMCE paragraph formatting


Using Jamroom

In the editor, it looks like when I press return to start a new line, it isn't acting like a return should.

For example, if I use the Paragraph dropdown to change a line to a h3, then hit return and start typing on a new line, that new line is also an h3.

If I then try to change that second line to a paragraph, the h3 in the line above also becomes a paragraph.

It does work if I paste a bunch of text into the editor and then put the cursor into one of the lines and then change that line to an h3, so whatever the problem is is connected to the behaviour of the return rather than the line.

In the html view in the editor, the h3 isn't being closed, the line breaks are converted to br tags, so the h3 continues and there is no way to stop it without editing the html - easily done if you know how, but not simple for the average TinyMCE user.

Also, there is a great difference between the heading/paragraph formatting between the layout in the editor and in the final page view - but I suspect that this may be part of the same problem. The perpetual joys of TinyMCE line breaks.

updated by @ultrajam: 12/19/14 02:14:20PM
  133