“What you see is what you get” (WYSIWYG) text fields are present in some areas of CLASS. In terms of CLASS like many other web applications with WYSIWYG this means that content that you take i.e. from an external website or on a word document for example will keep its source formatting so: the colours, the font styling and sizing.
In some cases this can also bring unwanted HTML and or CSS code when you Copy paste directly form a website into CLASS which will show up when you go to print something from CLASS if it was pasted into a WYSIWYG text box.
Identifying a WYSIWYG Text Box in CLASS:
WYSIWYG text boxes are identified by their unique tool bar or set of buttons displayed along the top border of said text box. These controls allow for some basic text manipulation as well as Hyperlinking elements i.e. Links to places outside of CLASS on the web or on your SharePoint for example.
These Text Boxes behave differently as mentioned and unlike a regular plain text one like Service Notes here on a Service for a Client (no toolbar):
The same above text was pasted into a WYSIWYG text box “Project Notes” ( Under the Community Module of CLASS) from this website https://loremipsum.io/ and notice the difference below the WYSIWYG text box will retain the formatting and highlighting / styling etc:
How to avoid unwanted styling and content in WYSIWYG text boxes:
Sometimes you may want content or styling to come through such as Pasting formatted text from Word directly into the Message Board of Class to better present a Centre wide message.
But other times in particular with fields that can show up within a DIY report such as the Project Notes you may not want any extra or hidden content to come along with your copy paste.
To avoid this there are several options and you should use the one that best suits you:
- There is a Keyboard shortcut useable usually anywhere you can copy paste content while using a PC this is different from Ctrl + V or CMD + V
- On Windows its Shift + Ctrl + V to paste content as plain text
- On MAC its Option + Shift + Ctrl + V to paste content as plain text
- If you have a Mouse most browsers, programs etc including CLASS support first Right Clicking then selecting “Paste as Plain Text” from the drop down to avoid unwanted formatting
- The most thorough method though if things still don’t look correct is to first paste the content into a Plain Text Editor this is Notepad on windows machines and TextEdit on Mac computers
- So on Windows for example:
- Press the windows key then type Notepad and open that program
- Ctrl + C to copy your content (or right click copy it)
- Now Ctrl + V your content into the notepad (or right click paste it)
- Now do a Ctrl + A (or right click select all) and a Ctrl + C (or right click copy)
- Now Ctrl + V your content into the CLASS WYSIWYG text box (or right click paste)
- On Mac:
- On you’re finder look for TextEdit
- Now Cmd + C to copy your content (or right click copy it)
- Now Cmd + V your content into the notepad (or right click paste it)
- Now do a Cmd + A (or right click select all) and a Cmd + C (or right click copy)
- Now Cmd+ V your content into the CLASS WYSIWYG text box (or right click paste)
- So on Windows for example: