cwrc / DEPRECATED-CWRC-Writer

The Canadian Writing Research Collaboratory (CWRC) is developing an in-browser text markup editor (CWRCWriter) for use by collaborative scholarly editing projects.
http://www.cwrc.ca/projects/infrastructure-projects/technical-projects/cwrc-writer/
GNU General Public License v2.0
24 stars 17 forks source link

Merge two identical consecutive tags. #383

Closed ilovan closed 8 years ago

ilovan commented 8 years ago

Allow users to join consecutive identical tags (e.g. p, divs, etc.) if they select both of them in the structure panel.

@SusanBrown , you also proposed that joining tags should be an option if the cursor is positioned at the start of the second identical tag in the text area. It seems to me that this would make accidentally merging tags easier, so I would suggest we stay with the structure panel option only. What do you think?

ghost commented 8 years ago

Sounds fine with me to do it as you suggest.

On May 16, 2016, at 10:46 AM, Mihaela Ilovan notifications@github.com wrote:

Allow users to join consecutive identical tags (e.g. p, divs, etc.) if they select both of them in the structure panel.

@SusanBrown https://github.com/SusanBrown , you also proposed that joining tags should be an option if the cursor is positioned at the start of the second identical tag in the text area. It seems to me that this would make accidentally merging tags easier, so I would suggest we stay with the structure panel option only. What do you think?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cwrc/CWRC-Writer/issues/383

SusanBrown commented 8 years ago

Works!