TinyMCE - customization "insert/modify table" popup - tinymce

I use TinyMCE in my application. Is there any possibility to remove fields from popup, which is shown after button "Insert Table" is clicked? I would like to have only "columns" and "rows" fields.

This is not possible out of the box, but you could "customize" the template for this popup.
You can find it in /tiny_mce/plugins/table/table.htm

Related

CMS Made Simple Link

I would like to set up links though my site to make it easier to type long urls to external sites, How would I set up CMS Made Simple to link from one internal URL to a exteral one IE mydomain.com/fb to facebook.com/mycompany/ ?
In your (V1.x) admin area, try:
Content > Pages > Add new content
Content type: Redirecting link
Options tab:
Page alias: "fb"
If you don't want it to show in menu untick "Show in menu"
Main tab:
Fill in title and menu
In URL: "facebook.com/mycompany/"
That should do it.
To redirect to an external URL (or even content within your domain that is not managed by CMSMS), you can use the Content Type "Redirecting Link".
Since maidbloke already covered CMSMS 1.x, I'll cover CMSMS 2.x.
Creating the Redirecting Link
Start at the CMSMS admin area's "Home" page (the default page loaded in the admin area).
Under the "Content" item, click the "Content Manager" subitem. You could also, instead, open the "Content" menu on the left by clicking "Content" in the left hand menu, and then click the "Content Manager" subitem.
Click "Add New Content" in the upper left of the Content Manager area.
In the "Main" tab, change the Content Type to "Redirecting Link".
Fill in the "Title" field.
Fill in the "URL" field (something like "https://www.facebook.com/mycompany" without quotes).
Click on the "Navigation" tab.
Fill in the "Menu Text" field.
If you don't want the link to show in your menus, uncheck the "Show in Menu" option.
If you set the "Title" to something other than "fb"...
Click on the "Options" tab.
Fill in the "Alias" field with "fb".
At the top of this page, click the "Submit" button to save your new content.
Now the redirecting link is set up! Next, we'll cover how to use it.
Using the Redirecting Link
There are a few ways you can use it.
Without MicroTiny
If you're not using MicroTiny or some other WYSIWYG editor:
A. You can use raw HTML:
Our Facebook Page
Our Facebook Page
Our Facebook Page
Our Facebook Page
B. You can use the cms_selflink tag:
{cms_selflink page="fb" text="Our Facebook Page"}
You can still use this method from within MicroTiny as well.
With MicroTiny
If you're using MicroTiny:
C. You can insert a CMSMS page link:
Click the "Insert" menu.
Click "Link to CMSMS Page".
Fill out the "Enter Page title" field with the value you used when you created the Redirecting Link (Creating the Redirecting Link, Step 5).
Fill out the "Text to display" field.
Click the "Ok" button.
There is also a button in MicroTiny toolbar that can be used to replace steps 1 and 2.
D. You can insert a regular link:
Click the "Insert" menu.
Click "Insert/edit link".
Fill in the "Url" field, probably with one of the URLs shown in option A.
Fill in the "Text to display" field.
Fill in the "Title" field.
Click the "Ok" button.
There is also a button in MicroTiny toolbar that can be used to replace steps 1 and 2. You could also press the Control and K keys together to insert a regular link.

Tinymce adding text with button

I'm trying to implement a button outside of the TinyMce editor, that would add text to the active editor upon clicking.
How can I do this?
(For example: There's a button on my website that should add "Test" into the editor, but it doesn't).
Thanks for help :)
Add this code to the onClick of your button:
// the editor id is the same id of your textarea, default "content" in case your textarea does not have an id
tinymce.get('your_editor_id').execCommand('mceInsertContent', false, "Test");
In case you have one single editor on your page you may also use tinymce.activeEditor instead of tinymce.get('your_editor_id').

"Create New" text box in GWT radio button group

In my GWT app I have a radio button group of choices. The last choice is to add a new item. What I want is that the words "create new xyz" to disappear, and to be replaced with a text box to take the input. What is the best way to do this? I have thought about using a disclosure panel, but that seems unnatural and I don't have it working properly yet.
Is it possible to write an onClickHandler for that radio button? If so, then inside that onClickHandler, add code to generate the textbox.

How can i show textbox as a Dropdownlist on mouseover

When I hover over a textbox I want it to be displayed as a dropdown list, then after I click it I want it to be displayed as a text box again, how can this be done using jquery?
Try this JqueryUI Autocomplete Box, It can be tweaked as ComboBox as well.
http://jqueryui.com/demos/autocomplete/
I suggest to use this.

is there any editable combobox in GWT?

I want to add editable combo box in GWT , so please tell me the solution ?
Try the Advanced GWT Components, specifically
org.gwt.advanced.client.ui.widget.ComboBox
You can see them in action at the demo page here, just select the Text & Button Widgets tab and have look at the source code behind it.