How to remove hyphenation marks

Operating system

Windows

Joplin version

3.0.15

What issue do you have?

When I copy text from a note and paste it as plain text, it contains hyphenation marks. Can I switch this off?

Screenshots

02-10-2024_18-28-48.jpg

@overtone welcome to the forum.

Are you using the Markdown (CodeMirror) Editor?

If the top line is the text as shown in the Markdown Editor the red dots may indicate special characters, normally non-printing characters. They are not spaces. So it seems that the source text has been entered into Joplin containing non-printing characters. This may be why when you paste that text into some other app it shows them as hyphens?

specialCharPlaceholder: function(char) → Element
A function that, given a special character identified by the specialChars option, produces a DOM node that is used to represent the character. By default, a red dot (•) is shown, with a title tooltip to indicate the character code.

specialChars: RegExp
A regular expression used to determine which characters should be replaced by a special placeholder. Mostly useful for non-printing special characters. The default is /[\u0000-\u0019\u00ad\u200b\u2028\u2029\ufeff]/.

CodeMirror Manual

1 Like

Thanks, @dpoulton, for your quick response!

The red dots stand for soft hyphen. They are created automatically in Joplin when I make changes in read mode, independend if I wrote the text in either editor or imported it.

It would be helpful if I could prevent the automatic assignment of soft hyphens, because a) they are translated into fix hyphens as plain text during copy&paste and b) they are completely wrong for German hyphenation.

To remove them, I use the plugin “search and replace”.

But I would rather do without automatic hyphenation altogether. Are they generated by the Joplin core, or perhaps by a plugin?

I have never seen Joplin insert soft hyphens and I have found no other trace of it being mentioned that Joplin is automatically doing this on this forum or in Joplin's GitHub repository.

You mention plugins, so it seems you are using them. However when you filled in the support template you omitted to list what plugins you have installed. Could you go to Help > About Joplin and copy the information from there?

Also, are you using any custom css with Joplin? I did find an old post about using css to activate hyphens as hyphens: none | manual | auto can be used to set it for text in block elements, although back then it did not work on all platforms and the language could not be defined

@dpoulton, thanks you so much for your support, I really appreciate it. Here is the list (I didn't know about it):
Joplin 3.0.15 (prod, win32)

Client-ID: dcdf18f0b3384fceba34fbc82dd5379d
Sync-Version: 3
Profil-Version: 47
UnterstĂĽtzter SchlĂĽsselbund: Ja

Revision: 598677b

Backup: 1.4.2
Combine notes: 1.2.2
Insert Date: 1.0.1
Markdown Table: Colorize: 1.2.0
Markdown Table: Sortable: 1.2.2
Note overview: 1.7.1
Note Statistics: 1.0.4
Paginator: 3.0.2
Plugin Bundle: 0.5.5
Quick Links: 1.3.2
Search & Replace: 2.2.0
Send snippet to different note: 1.0.0
Table Formatter Plugin: 1.2.1
Templates: 2.4.0
Text Colorize: 1.2.5
Zotero Link: 1.1.1


Here're my changes to the rendered markdown:

/* For styling the rendered Markdown */
/*https://gist.github.com/nextab/5abe2ead939a074edfd11988dd4d9751*/
p { font-size: 18px }
h1 { margin-top: 5em}
h2 { margin-top: 2.5em; }
ul + *, * + table { margin-top: 30px; }
hr { margin: 30px 0; }
ul li.md-checkbox label.checkbox-label-checked { text-decoration: line-through; }
p {
line-height: 130%; // Zeilenhöhe innerhalb von p-Elementen
margin-top: 200%; // Abstand zwischen p-Elementen
margin-bottom: 0;
}


Perhaps I should give "hyphens: none" a try?

Thanks again for your precious time.

Probably not as this css affects the rendered view, not the Markdown Editor where you are seeing the red dots. I have doubts that it is css but do you use a userchrome.css file?

That's quite a few plugins and I am personally not familiar with most of them. At least one of them is not even listed on the Joplin plugin site!

Try disabling all of them and then, after restarting Joplin, seeing if the soft hyphenation still occurs. If it does then all the plugins can be excluded in one go.

Speaking of which can you please confirm that the soft hyphens appear not only when you paste text into Joplin but also when you type a brand new note yourself, from the very start, without any pasting at all, just keyboard input, and not modifying an already existing note?

The culprit was the Paginator plugin. I deleted it. Thanks again.

1 Like