Page 1 of 1

How to hide inserted URL in WYSIWYG editor (TinyMCE)

Posted: Mon May 04, 2015 6:17 am
by nexious
I am in the process of converting an older CMSMS site (1.9.1) to the latest version. In the new version, when editing pages using the WYSIWYG editor (TinyMCE or MicroTiny), the hyperlink appears in parenthesis next to the hyperlinked text. When using the cms_selflink style link, the entire smarty tag appears in parenthesis. See illustration below:

Image

Since this site will be maintained by an end user and the URLs can get quite long and numerous, this creates a messy editor page. How can I disable the output of the URL in parenthesis in this editor?

Re: How to hide inserted URL in WYSIWYG editor (TinyMCE)

Posted: Mon May 04, 2015 8:04 am
by velden
This behavior is probably related to the page template (Simplex?) that's used for the specific page(s).

Try adding this css to the stylesheet of the template:

Code: Select all

#tinymce a:link::after {
    content: none;
}

Re: How to hide inserted URL in WYSIWYG editor (TinyMCE)

Posted: Mon May 04, 2015 5:49 pm
by Dr.CSS
Are you sure it isn't just MicroTiny as I just tested it in 1.12 but used tinyMCE and I don't see that...

Re: How to hide inserted URL in WYSIWYG editor (TinyMCE)

Posted: Mon May 04, 2015 9:36 pm
by nexious
Hi, you are right it was related to the print CSS stylesheet of Simplex. For some reason when I check the TinyMCE option to "Include only screen CSS", none of the template styles are included even if the stylesheets are specified as screen. Thanks.

Re: How to hide inserted URL in WYSIWYG editor (TinyMCE)

Posted: Wed May 06, 2015 10:47 pm
by Dr.CSS
That would be because they all use the 'form' and not the other tab to set 'screen', I think, but glad it works...