Jen Geard

Related, and possibly simpler: is there a way to apply Display rules to an entire Field group? Or even to hide the Field group 'container' until the fields inside it are displayed?

Jen Geard

I'm guessing that the user-defined forms module doesn't have a way to manage the relationships between tables that this would require in the back-end(???), so it's not an option. But other form-creator tools do manage this, so I'm hopeful that SilverStripe's worked it out as well. 🙂

Jen Geard

Having searched for documentation, this is probably a long shot: when using user defined forms in SS4, is there a way to create repeating fields or groups? Think "Add another company's details to the list of companies I hold" or "Add a row for the details of another person who lives at this address".

Jen Geard

A particular use case is "Publishing the annual report on the web reasonably quickly after Audit signs it off".

Jen Geard

@clarkepaul Thanks for that. I'll have a look at the TinyMCE options. Sadly, the main workaround is to give content loaders access to particular versions of Dreamweaver so they can copy the HTML over, strip the attribute tags and copy it back, but it's using an expensive sledgehammer to crack a walnut.

😥 (1)
clarkepaul

Okay that all makes sense, yeah not sure how to deal with that except as you’ve discovered the “Paste as plain text” which will strip out more than you are wanting but it will be a clean start. Ctrl-V provides the same functionality as the non-supported action, I think the button is just using older technology (probably flash) to paste. Otherwise maybe look into options TinyMCE offer as you might find some functionality you can easily add.

Old post but maybe still relevant https://community.tiny.cloud/communityQuestion?id=90661000000QdIEAA0

> If you want to do further cleanup the Paste plugin provides a whole slew of options: https://www.tinymce.com/docs/plugins/paste/ If you have very specific needs for cleanup look at the paste_postprocess option - it allows you to perform whatever custom cleanup you need. Lastly there is a paid plugin (PowerPaste) that does even more cleanup. You can test it on the homepage of http://www.tinymce.com to see if its algorithm is a better fit for your needs.

Show 2 attachment(s)
TinyMCE.com  
TinyMCE | Paste plugin

Standard version of features for copying-and-pasting content from Microsoft Word.

The Most Advanced WYSIWYG HTML Editor | TinyMCE

Download TinyMCE for free, the most advanced WYSIWYG HTML editor designed to simplify website content creation.

Hide attachment content
Jen Geard

Tested on demo: I can add widths to multiple cells, but can't remove them.

Jen Geard

So... what's working for you, and am I missing some handy command here? 🙂

Jen Geard

Should I see whether other browsers handle this differently? It's a bit of a side-jaunt given that even if they did format the width attributes using current style I wouldn't be able to edit them.

Jen Geard

I usually use Ctrl-V to paste text from Word into SilverStripe. I've just had a look at the 2 options for pasting that are built into the/our site. The first one says "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead." (using Chrome). The second one (plain text) doesn't copy across even the most basic semantic table structure.