Bug using css?

15 views
Skip to first unread message

theboo...@gmail.com

unread,
Jul 11, 2024, 7:09:28 PM7/11/24
to GEDitCOM II Discussions
I've not used css before and I had followed the old instructions of copying, and modifying, the report.css into a multimedia object. I now realise that, in the latest build, html notes use the same report.css as reports in the system folder.

However, using the former method, I think I found a bug.

If I use the View - Attach css menu, all is fine.

But, if I control-click in the html text of the note and select HTML Editing - Attach css, it puts the right code in the correct position but also it adds "(null)" at the cursor position, which isn't right.

Cheers

Mick

John Nairn

unread,
Jul 12, 2024, 9:36:36 AM7/12/24
to geditcom-ii-discussions@googlegroups.com geditcom-ii-discussions@googlegroups.com
Yes, you are right. It was an easy fix for next build. In the meantime, you will have to delete that erroneous “(null)”

But, as you noticed, all notes now automatically use report.css unless you change to another css file. This change was made so that the new Copy to Notes extension could copy notes and ratain all styles. Even when accepting report.css style, you can still overrides some of those styles by adding css elements to the head element (see help on web content for details).

John

--
You received this message because you are subscribed to the Google Groups "GEDitCOM II Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geditcom-ii-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geditcom-ii-discussions/be5323ab-91d6-475e-94dd-7df02654f9fdn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages