DamonCasey

Pasting styled text does not paste black text styling

Discussion created by DamonCasey on Nov 27, 2015
Latest reply on Dec 4, 2015 by TSGal

FileMaker Pro and Advanced 12.0v5 through Pro and Advanced 14.0v4.

Mac OS 10.9.5

 

I have a system where fields are styled in a grey colour. Pasting styled text from another application into a field where some styled text is black, the pasted black text is converted to the field's default grey colour styling. Other formatting like size and font weight (roman, bold, italic) for the black text are honoured as expected. Other coloured text (red, blue, yellow, green etc.) all paste in their original colours and don't convert to the field's grey colour styling.

 

1) Create a text file in TextEdit with some text in various colours, sizes and weights. Make sure at least some of the text is black.

2) Create a new database with a single text field.

3) Add the field to a layout and style the field to have grey text.

4) Create a record and paste the text from TextEdit.

 

Note the black text is in the field's styled grey colour.

 

This happens in all versions of Pro or Pro Advanced that use the .fmp12 file format. I've tested this in FileMaker Pro 11 Advanced and the styled text is pasted in correctly where black text pastes in black, even though the field's styling is a grey colour.

 

I've converted the .fp7 file with FileMaker Pro 14 Advanced and pasted the text and the problem happens there so this is contained to the .fmp12 file format.

 

This isn't caused by the colour grey, whatever default colour that has been applied to the field's styling will be the colour that pasted black text is styled as.

 

I've attached a screenshot to illustrate this. The left window is the styled text in TextEdit. The middle window is a .fp7 file in FMPA 11 with the pasted text with all styles correctly pasted into a field with a grey colour styling. The right window is a .fmp12 file in FMPA 14 with the pasted text with black text in the field's default grey colour styling but the red text styling has been pasted correctly.Screen Shot 2015-11-27 at 09.45.17.png.

Outcomes