Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10311 closed enhancement (fixed)

RTE: Provide footer 'breadcrumb' 'toolbar' for RTE

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.5
Component: Editor Version: 1.4.0b
Keywords: Cc: bill, liucougar, Douglas Hays, Adam Peller
Blocked By: Blocking:

Description

RTE: Provide footer 'breadcrumb' 'toolbar' for RTE

This is a nice little plugin that adds a toolbar down at the bottom of the RTE that shows you what node you're in (and its nesting level), as you edit. Clicking it will select all the contents of that node. Clicking the dropdown arrow opens up other options, such as deleting contents, selecting entire element (not just contents), and so on.

It's not a super-huge common need, but it can be very useful when working with a document and wanting to ensure you've selected right or removed an element entirely.

Attachments (2)

breadcrumb.zip (6.7 KB) - added by Jared Jurkiewicz 10 years ago.
Breadcrumb prototype
prototypeEditorFSFix.patch (4.5 KB) - added by Jared Jurkiewicz 10 years ago.
Updated patch for Editor, ViewSource?, and Fullscreen that makes it behave better with header/footer additions like the breadcrumb.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by Jared Jurkiewicz

The current impl will require some changes to dijit.Editor and FullScreen? so that it doesn't get pushed off the page. Mainly just need to alter the editor markup to be like:

<div>

<div class="header">

Toolbar and others go here.

</div> <div>

<iframe></iframe>

</div> <div class="footer">

Status bar, footer type stuff goes here.

</div>

</div>

This is so that when fullscreen calculates sizes of stuff, it has three specific areas to size and size right, where it's center = vp - (header + footer), heighting. I'll work on what changes are needed there in a bit (should be minimal).

prototype coming.

Changed 10 years ago by Jared Jurkiewicz

Attachment: breadcrumb.zip added

Breadcrumb prototype

Changed 10 years ago by Jared Jurkiewicz

Attachment: prototypeEditorFSFix.patch added

Updated patch for Editor, ViewSource?, and Fullscreen that makes it behave better with header/footer additions like the breadcrumb.

comment:2 Changed 10 years ago by Jared Jurkiewicz

(In [20773]) Adding in breadcrumb bar (experimental) to dojox.editor.plugins. refs #10311

comment:3 Changed 10 years ago by Jared Jurkiewicz

(In [20774]) Updating test with proper tabbing. refs #10311

comment:4 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

Editor now has updates that make this work a lot nicer. Closing as fixed.

comment:5 Changed 10 years ago by Jared Jurkiewicz

(In [21064]) Switched to dojo.place. refs #10311

Note: See TracTickets for help on using tickets.