Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-06-15 05:04:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

[plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

upm_insert_tab

Allow tab insertion within admin textareas.

Last edited by uli (2013-01-24 17:02:14)

Offline

#2 2005-06-15 05:52:23

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Doesn’t work in Safari (stops navigation with tab key but doesn’t insert tabs in text fields)

But it works in FireFox Mac ! Thank you very much ! Very usefull for html and CSS


Nico

Offline

#3 2005-06-15 12:16:56

RSL
Member
From: Decatur, GA
Registered: 2005-06-14
Posts: 15
Website

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

I installed j|g Plugin Creator and can’t figure out how to install your plugin with it. There was a text field where you could paste code, but now there’s not. Hrm… Anyone else have this problem?

Nevermind… I just figured out I could rename/replace the plugin PHP file and everything works like new again. Now to try out the plugin!

Last edited by RSL (2005-06-15 16:19:07)

Offline

#4 2005-06-15 16:53:46

RSL
Member
From: Decatur, GA
Registered: 2005-06-14
Posts: 15
Website

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

New question: How do I enable this to work in the plugin editor area? Works like a dream on the other fields I’ve tried, just not the one that I’ll probably be using the most.

Offline

#5 2005-06-15 18:46:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Niconemo: I figured it wouldn’t work in Safari, but wouldn’t know for sure since I don’t have access to a copy of it.

RSL: The plugin creator is for an older version of Textpattern, and has not been updated yet. Additionally, you don’t use a plugin creator to install a plugin. You install a plugin in the upload interface of the plugins tab.

Offline

#6 2005-06-15 19:09:29

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

I’m starting to think you are a robot.

You’re like a plugin making machine.


Shoving is the answer – pusher robot

Offline

#7 2005-06-15 19:57:16

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Thank you for this plugin, I started tidying up my page template, it could use it!

One minor thing: when I press the tab key, the tab is inserted but the focus goes back to the top of the page, and I have to use the arrow down to find the right line again (Firefox 1.0.4). Not a real problem, it just took some time to go through the entire page template…

Offline

#8 2005-06-15 20:02:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Not me. Exact same browser.

I think that’s actually a Firefox failing, believe it or not. I always set it to work like the other browsers. Here is one place that explains how (it says about OSX, but its true for Windows too).

Last edited by Mary (2005-06-15 20:03:34)

Offline

#9 2005-06-15 20:08:25

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Hm. I just looked and they have the correct setting (7) in there by default. I dunno what to tell you.

Offline

#10 2005-06-15 20:33:35

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Yes, I just noticed that too. Thanks though for your answer, and never mind, I like the plugin anyway.

Offline

#11 2005-06-15 20:41:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

Try a fix for me, let me know if it works, and if it does, then I’ll re-package the plugin.

Edit the plugin and find:
event.preventDefault();

right after it, add:
event.stopPropagation();

Clear your cache to make sure it reloads the javascript, and then try it out.

Last edited by Mary (2005-06-15 20:41:49)

Offline

#12 2005-06-15 20:46:52

RSL
Member
From: Decatur, GA
Registered: 2005-06-14
Posts: 15
Website

Re: [plugin] [ORPHAN] upm_insert_tab: Allow tab insertion within admin textareas.

> mary wrote:

> RSL: The plugin creator is for an older version of Textpattern, and has not been updated yet. Additionally, you don’t use a plugin creator to install a plugin. You install a plugin in the upload interface of the plugins tab.

Sorry, I wasn’t very clear. I fixed all that jazz about the clugin creator, but can’t get the tabs to work when I’m using the standard, out-of-the-box TXP plugin editor.

Offline

Board footer

Powered by FluxBB