View Single Post
Old 01-17-2020, 04:22 PM   #39
Mister L
Groupie
Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 179
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
Quote:
Originally Posted by KevinH View Post
Just pushed initial support for this to master. I do not even have 20 clips to test it with so further changes may be needed. It might be nice to put the auto generated CSS selectors into this second clips toolbar as a way to more easily assign classes and organize things.

People can of course hide this (empty on my machine now) toolbar.

If anyone has a clips external saved file that has more than 20 clips they would be willing to share, please let me know via pm and I will test with it.

Hope this helps,

KevinH
I am pleased about this as well. If you would like a large clips file I can send you mine.

On that note, as far as I know it is only possible to paste clips into xhtml files (not css files). Could this be changed easily? I have a basic css stylesheet that I was importing but then thought it would be nice to be able to just insert it as a clip... currently the only way to do that is to paste it into an html file then cut and paste that into the css file. If it's complicated I can just keep doing that or importing it so no worries but it would be nice to be able to past css clips.

Quote:
Originally Posted by KevinH View Post
FYI, we have found a way to fix this without messing all of the existing code up.
so this change will appear in the next release.
Excellent, very glad to hear this as I came here looking for info about this after experiencing it today. Any idea when the next release will be published? I think there are several features in it I'm looking forward to.

For what it's worth, I also very regularly add existing files to a new book, either templates or for other reasons... Today I'm splitting a book into 2 parts, some of the pages are basically the same in both tomes (title page, copyright, author bio, bibliography...) so I updated them as necessary in one tome, "saved as" to my work folder then imported them into the second tome... there were no images but the css file links were all borked because I had not yet added the stylesheet. :/

It seems that several of us have a workflow of importing templates or pages which are frequently used (for one client I have a "publisher" page which never changes so I just import the file directly along with the various images in it), it seems like it could be useful to have an explicit option to "import file as-is" with no modifications including to links; if we use that option, presumably we know what we're doing and if we don't and bork something, well, it's our own fault. I'm still using the classic Sigil file structure so maybe this wouldn't have been too much of an issue but the file I'm splitting today was originally made by someone else who doesn't use my naming conventions, thus the problems.
Mister L is offline   Reply With Quote