• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Disable MicroTinyMCE checkbox
PostPosted: Sat Oct 10, 2015 2:30 am 
Offline
Forum Members
Forum Members

Joined: Tue Oct 06, 2015 7:55 pm
Posts: 30
Hi! I'd like to suggest a checkbox button where would be possible to disable MicroTinyMCE on the fly.

It's because it automatically adds a 'p' tag even when I delete it from the code view mode.

Thank you!


Walter


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Disable MicroTinyMCE checkbox
PostPosted: Tue Oct 13, 2015 12:19 am 
Offline
Dev Team Member
Dev Team Member

Joined: Tue Nov 21, 2006 5:05 pm
Posts: 731
Location: OH, USA
TinyMCE has some more advanced features like an on/off checkbox. I believe the module's developer is working on a release for 2.0

In the meantime, you can disable it under the Options tab while editing a page, or use the "Source Code" view under Tools to edit those tags out.

But, keep in mind that a content page's default block cannot be empty when trying to save your changes.

_________________
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Disable MicroTinyMCE checkbox
PostPosted: Wed Oct 14, 2015 2:01 am 
Offline
Forum Members
Forum Members

Joined: Tue Oct 06, 2015 7:55 pm
Posts: 30
JohnnyB wrote:
TinyMCE has some more advanced features like an on/off checkbox. I believe the module's developer is working on a release for 2.0

In the meantime, you can disable it under the Options tab while editing a page, or use the "Source Code" view under Tools to edit those tags out.

But, keep in mind that a content page's default block cannot be empty when trying to save your changes.

Hi Johnny! Yes, I used to use TinyMCE and this resource before.

I'm doing exactly what you suggested, disabling under options tab. I tried to delete the 'p' tag in "Source code" view, but it reappears automatically. Other tags can be deleted normally, but this not, at least didn't work for me.

Thank you!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Disable MicroTinyMCE checkbox
PostPosted: Wed Oct 14, 2015 1:44 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Tue Nov 21, 2006 5:05 pm
Posts: 731
Location: OH, USA
You can create a custom tinymce_config.js file by copying the one that comes with MicroTiny. There are tinymce 'rules' that can disable automatically forcing a new paragraph. Check out the TinyMCE version 4 documents for the tiny.init()

You create a custom tinymce_config.js file by using the same "module_custom/MicroTiny/templates" method described here for module templates in the Admin: http://docs.cmsmadesimple.org/customizi ... -templates

_________________
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Disable MicroTinyMCE checkbox
PostPosted: Wed Oct 14, 2015 2:55 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 7951
Location: Fernie British Columbia, Canada
The wysiwyg editor can be disabled
a: for individual content blocks by specifying it in the template
b: for the entire content page
c: for the user

So there's really no need to have any more mechanisms.

If you are going to be putting your own design elements into a content area then you really aren't expecting a non-designer/developer user to be editing that content. or at least you shouldn't be. so you can disable the wysiwyg for that content page and not allow your editors to edit it.

If you are allowing content editors to edit the content of a page then the <p> tags are a good idea.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Disable MicroTinyMCE checkbox
PostPosted: Wed Oct 14, 2015 7:36 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 12634
Location: Arizona
Unless they are adding a module tag like {News} where MT will wrap it in a <p> no matter what you do...

_________________
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Disable MicroTinyMCE checkbox
PostPosted: Wed Oct 14, 2015 7:38 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 7951
Location: Fernie British Columbia, Canada
and a call to a module like {News} is a design element. that's part of your design. A content editor should not be expected to know that stuff or deal with it. and therefore prolly shouldn't be editing that page.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting