davidf wrote: ↑12 Dec 2022 23:35
Are we slipping into the danger that Adrian has warned me of a number of times of trying to specify "the solution" rather than what we require - which we may be losing sight of?
Absolutely, yes. We also run the risk IMO of specifying a solution that doesn't fit in with CPs strategy/architecture when another way of achieving the same goal would be equally acceptable to us and more acceptable to CP.
We want a non rich text option because?
In my case, I want to use rich text for some notes (e.g. Proof Statements that I currently produce in Word to be able to use formatting, and attach as PDF media files to the Individual; Research Notes where formatting will help to organise the contents; other Notes not intended for publication but for my use only) and plain text for other notes that will be published via a website, where formatting would disrupt the website appearance.
Stripping formatting on export wouldn't meet this need as I specifically require a mix, not all rich or all plain. Also, I shouldn't need to do an export to generate a report!
It is currently perfectly possible to create plain text notes by not using the rich text editing features, and by using the right-click option to paste unformatted text when required. As long as these features are
reliable (with all bugs fixed), and supplemented with a simple method to convert a note from rich to plain text (when I make a mistake or change my mind),
my needs are met... I can live with a single editor UI and just not use the rich text features when I don't want them (there are lots of places in FH where users happily ignore stuff they don't need/want and this will be no different). Converting rich text to plain text is easy enough (for me) via CTL-A - CTL-X - paste unformatted; And if I want to convert a plain text note to rich text, I just add the desired formatting.
Although I don't use keyboard shortcuts a lot, a keyboard shortcut for 'paste unformatted text' is essential for accessibility, and for those users who prefer to work with the keyboard predominantly rather than the mouse. It ought to be compatible with the 'usual meanings'.
Some users want to use plain text exclusively so an option to default to the plain text editor would be nice for them to have (but not essential).
Some users want to use formatted text exclusively. Their needs are met by FH plus stripping formatted text on export if desired.
I'd specify the requirement as:
- MANDATORY/CURRENT BEHAVIOUR: Text formatting should only be introduced by the user (including by pasting formatted text from the clipboard or using formatted Autotext). If all visible text formatting is removed, the note should revert to plain text. (This seems to be the current design, but any bugs making this behaviour unreliable must be fixed)
- MANDATORY: Keyboard shortcut should be provided for pasting unformatted text.
- NICE TO HAVE: An option to revert to plain text only, hiding the rich text formatting capability in the editor.
- NICE TO HAVE: A simple method of converting a rich text note to a plain text note. (The simple Select All-Cut-Paste Unformatted method exists already, which is why I've marked this NICE TO HAVE).