Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

CSS Properties code formatting?

Explorer ,
Sep 17, 2017 Sep 17, 2017

Is there any way to alter the code formatting for this panel? It drives me nuts that the open bracket starts on a new line, all lines are indented with two spaces (seriously, who does two spaces? It's either four spaces or 1 tab), that there's a space before and after every colon, gives me both hex and rgba colors with no option to select just one, not to mention multi-word font family names aren't in quotes.

This is almost a useful tool, if it didn't require so much cleanup after copying/pasting, and I shouldn't have to run it through BBEdit or manually clean it up first every time. This would almost be easier to just look at and type out manually to my code editor, if the panels didn't disappear when Illustrator was out of focus.

.NormalCharacterStyle

{

  font-family : Trade Gothic;

  font-size : 16px;

  line-height : 37px;

  color : #668082;

  color : rgb(102, 128, 130);

}

Is there a file somewhere in which I can at least fix the brackets and spaces and stuff like that? Please?

674
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 18, 2017 Sep 18, 2017

Please post feature requests in: https://illustrator.uservoice.com

Translate
Adobe
Community Expert ,
Sep 18, 2017 Sep 18, 2017

Please post feature requests in: https://illustrator.uservoice.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 20, 2017 Sep 20, 2017

Hi fastasleep,

Please refer to below-mentioned tutorial.

Extract CSS | Illustrator CC

Hope this helps!

Please update the discussion if you have any further query.

Regards

Srishti

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 22, 2017 Sep 22, 2017

That page does not answer any of my questions on how to fix the code formatting or the other awful issues with the tool's output.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 23, 2017 Sep 23, 2017

There is no possiblity to configure the output. Please post it as a feature request.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 24, 2017 Sep 24, 2017
LATEST

I did, thank you. But it doesn't hurt to ask as sometimes there's a solution that works aside from other things.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines