Opened 17 years ago

Closed 11 years ago

#1112 closed New Feature (invalid)

Enhance 'New Page' button

Reported by: Aung Khant Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Dear Fred and developers,

Currently the 'New Page' button doesn't check any data that are already written in editor.

User may accidentally click it and lose all pre-written data !!! :(

So, the 'New Page' button should be able to prevent this frustration.

Because the editor completely reloads a new page, the 'New Page' button checks what's in the text area.

Invoker	:=	User
Event	:=	ButtonClicked
Object	:=	btnNewPage

BEGIN PROCEDURE 
	Check values in text area
	If values == 'This is some sample text. You are using FCKeditor.' OR values == ''
		load new page 
	Else 
		confirm user "The texts have been changed since last written. Are you sure to load new page ?"
		If yes
			load new page 	
		EndIf 
	EndIf		
END PROCEDURE

Thank you so much for your time, consideration and hardwork.

Change History (5)

comment:1 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Type: TaskNew Feature

comment:2 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

comment:3 Changed 11 years ago by Nick

Found this ticket when looking for general information on the "New page" plugin and what it is for. Still not clear on what the point of it is, if not to just clear the editor.

Anyway, I think the change in this ticket should be implemented, it still makes sense 6 years from when it was opened.

comment:4 Changed 11 years ago by Jakub Ś

I think this ticket should be closed.

New page is quick way to remove editor contents - much quicker than Ctrl+A and Del. If anyone presses this button by accident he can use "Undo" button or Ctrl+Z. Showing extra confirmation dialog is IMO frustrating overhead and should not be implemented.

comment:5 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: confirmedclosed

I have consulted this issue with my colleague and closing it as invalid.

This request has come from user who is not familiar with "New Page". If someone is using it 100 times a day like I do, he knows it is much better than switching to source and removing editor contents or pressing Ctrl+A and Del few times (first Del doesn't have to remove everything).

As my colleague has pointed out most of users don't use "New Page" but rather modify existing editor contents but they can revert any accidental contents removal with Undo command or Ctrl+Z shortcut.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy