Jump to content
Due to limited holiday staffing, chat will be unavailable from Thursday, July 2 at 5:30 PM (CDT) to Monday, July 13 at 8 AM (CDT). This will allow us to reply to your email requests as quickly as possible. Thank you for understanding. ×
RobLewis

What happened to formatting of my Code blocks?

Recommended Posts

I have a lot of notes with text blocks formatted as Code. Suddenly these blocks appear to have been oddly reformatted, with each line apparently enclosed in a doubly-nested code block. 

I can select these lines, then "Simplify Formatting" and they are transformed to a single block with default text style. Then I can reapply the Code style to get something like what I had. But what a pain! 

  • Like 1

Share this post


Link to post

Hi.  Is this change after a recent update?  What version of the app are you currently running?  Have you checked the affected notes on the web by logging in to Evernote.com?  Do they display correctly there,  but not on the device you;re using?

Share this post


Link to post

Evernote 6.12 Beta 3. I just noticed the problem the other day; it may have been after an update. 

The same problem appears in the web interface! See attached screenshot, showing Safari. Note near the top of the image how when the line wraps the continuation actually overwrites the first part of the line. 

There are many, many instances of this in my notes. 

Not good! 

EvernoteFormatBug.tiff

Share this post


Link to post

I'm seeing the same issue.

It often manifests when I enter a code block in the Mac app, then later open that same note in the iOS app, where the code formatting is as described above.

This only started with the recent 6.12 Mac update, I believe.

Share this post


Link to post

6.12 was quickly followed by 6.12.1 and 6.12.2 so work is apparently still being done on various issues...

 

Share this post


Link to post

I selected a block of several lines that were afflicted with this bug, and gave the "Simplify Formatting" command. 

The formatting was simplified to apparently the default text style, but the last line of the block was unselected

This is repeatable: I select the now-simplified block and give the Simplify command again, and nothing changes except the last line of the block is unselected. 

Also, applying the "code block" style does nothing. 

Here's the text I'm using: 

<?xml version="1.0" encoding="utf-8"?> [necessary?]
<resources>  [must be root node]
    <string name="string_name">Some Text</string>
    ...
</resources>
 
This is with version 6.12.2

Share this post


Link to post

I'm also having an issue w/ code blocks. They used to work great, but now they don't work at all. I can't copy-paste existing ones, and I can't make new ones. This sucks as my Evernote is my lab notebook for computational research and I usually make about 20 code blocks a day.

I can still make a code block on text that was written before the issue started, but not on text added recently.

Simplify formatting seems to have  a similar error. Multicolored text won't simplify.

Evernote also won't let me submit a ticket to ask about the issue (there's simply no submit button when I go through the process...)

 

Share this post


Link to post

FFS what a mess. Having the same issue -- lots of old code blocks became unreadable messes, or turned into blocks-in-a-block with each line in its own nested codeblock. I guess the Evernote devs don't dogfood otherwise I assume they'd have never released it like that.

Share this post


Link to post

Holy cow I just discovered that if I try to codeblock NON-bulleted text, it works fine.

It's within my bullet organization that I can't make new codeblocks. Can copy-paste old ones but they format terribly.

Hope they can fix this to be compatible with bullet outlines again. I assume I'm not the only user who needs to indent code.

Share this post


Link to post

It looks like this is a major issue, and yet…crickets. 

Oh, I get it now: the entire editor coding team is busy working on implementing Search & Replace. NOT! 

Share this post


Link to post

Is this being worked on? Haven't seen any official comment from EN and there are now 3-4 threads about the code block mess we are in right now.

Share this post


Link to post

The intended behavior of code blocks is text only. This means no bullet/numbered lists, todos, horizontal rules, tables, images, encryption. On certain versions of the app, it was possible to add these options to code blocks but in future updates it will be text only.

There have been fixes and updates to code block that will be available in the forthcoming updates. This should address the "double code blocks" and paste and match style issues. Please keep your app updated, and if you notice any outstanding issues after the update, please open a support ticket and we'll gladly assist you further.

  • Like 1

Share this post


Link to post

Jay-Bob: glad to hear an update is coming but... does it address the issue ....

...where random `;` semicolon characters get added to the end of certain lines when creating code blocks?

...where URLs keep getting turned into clickable links even after manually removing them (over and over)

...where font size goes completely haywire when Simplify Formatting or Cmd+Shift+K (remove link) is used?

I made a simple animated GIF screencast to show some of these problems... really easy to reproduce on a Mac running 6.13 beta 2

yGZuSJ9.gif

 

Share this post


Link to post
6 hours ago, Jay-Bob said:

The intended behavior of code blocks is text only. This means no bullet/numbered lists, todos, horizontal rules, tables, images, encryption. On certain versions of the app, it was possible to add these options to code blocks but in future updates it will be text only.

But why? Why would you add that feature and then take it out? This makes my notes such a mess. Really looking forward to copy-pasting indented code blocks for the next several years until a better app / update comes along..

Share this post


Link to post
18 hours ago, Jay-Bob said:

The intended behavior of code blocks is text only. This means no bullet/numbered lists, todos, horizontal rules, tables, images, encryption. On certain versions of the app, it was possible to add these options to code blocks but in future updates it will be text only.

There have been fixes and updates to code block that will be available in the forthcoming updates. This should address the "double code blocks" and paste and match style issues. Please keep your app updated, and if you notice any outstanding issues after the update, please open a support ticket and we'll gladly assist you further.

The worst part of this is no bulleted/numbered lists, since they provide a way to insert a code block into a "parent" list without messing up the parent's numbering scheme. The code can be a 1 (or more) item sub-list inside a parent item. Sadly, I have used this a lot. 

Share this post


Link to post
39 minutes ago, soyned said:

Still waiting for an update on putting code blocks back into bulleted lists. 

Hi soyned, thanks for reaching back out. This will not be a feature going forward. The intended behavior is that code block exists on its own with only text inside of it.

Share this post


Link to post
1 hour ago, Jay-Bob said:

Hi soyned, thanks for reaching back out. This will not be a feature going forward. The intended behavior is that code block exists on its own with only text inside of it.

Great. Now how about making that part work at least.

Share this post


Link to post

 The intended behavior is that code block exists on its own with only text inside of it.

Why do you not care what your users want? It's 2017, people need to take notes on code.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...