I did a search and saw this question come up several times in the past, but there has never been a clear answer. The browser's spell check does not work when using the Code Mirror plugin. In the past threads, the solution was always to disable Code Mirror! To me, that is not really a solution. I'd rather keep Code Mirror and just try to be more careful with my spelling. But I keep noticing typos when I go back to read things later. Is there really no way to get the spell check to work again?
javascript:document.body.contentEditable='true';%20document.designMode='on';%20void%200
I tried a third party plugin https://languagetool.org/#firefox_chrome , and as I expected the following was returned
Yes most opperate on text areas. I will look into either toggling code mirror plugins - plural, or somehow enabling a way to activate the standard editor.
My current workaround is to use a different wiki.
Regards
Tony
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>.tc-spell-check-preview {width:100%;}</style>
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/22e55160-62cc-4cca-9d99-76b8906ad5fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
And preview mode will not work there
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/>
Even if it did I would much prefer preview mode to appear above or below the edit field as I am writing a lot of "copy" and would prefer to see it in an un-squashed horizontal perspective
After doing as you suggested I found the preview will not show the top line fully and there is no scroll bar.
I found the following works bt still with the above problems
{{||$:/_EditorPreview}}
Even directly
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>
.tc-spell-check-preview {width:100%;}
</style>
Though it would be better if we got the option for the Editor Toolbar to appear, and to allow scrolling.
Should I submit a request for horizontal above and below to be Preview Options? This would make it resemble WikiMedia and other Wikis a bit more and support writers.
Personally I would be happy to hide the CodeMirror editor while using the Spell Check view. This should be easy for me the way I am doing it through an edit fields method, but other users without such a facility will not be able to see it in horozontal format.
Thanks and Regards
Tony
This is a fairly good solution, however I am now editing tiddler content as a text field (from another tiddler)
Even if it did I would much prefer preview mode to appear above or below the edit field as I am writing a lot of "copy" and would prefer to see it in an un-squashed horizontal perspective
After doing as you suggested I found the preview will not show the top line fully and there is no scroll bar.
I found the following works bt still with the above problems
{{||$:/_EditorPreview}}Even directly
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>
.tc-spell-check-preview {width:100%;}
</style>
Though it would be better if we got the option for the Editor Toolbar to appear, and to allow scrolling.
Should I submit a request for horizontal above and below to be Preview Options? This would make it resemble WikiMedia and other Wikis a bit more and support writers.
Personally I would be happy to hide the CodeMirror editor while using the Spell Check view. This should be easy for me the way I am doing it through an edit fields method, but other users without such a facility will not be able to see it in horozontal format.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3f3c9b41-f3e7-45c7-83f7-cb44e860e7b9%40googlegroups.com.
Hi TonyThis is a fairly good solution, however I am now editing tiddler content as a text field (from another tiddler)You mean you’re not using the regular view template here? In that case, I should have thought you can just add a secondary editor yourself.
Even if it did I would much prefer preview mode to appear above or below the edit field as I am writing a lot of "copy" and would prefer to see it in an un-squashed horizontal perspectiveI don’t think the core need to directly supporting positioning the preview pane below the edit pane, as it seems an unusual requirement and can be accomplished by CSS.
After doing as you suggested I found the preview will not show the top line fully and there is no scroll bar.Can you show a screenshot?
I found the following works but still with the above problems
{{||$:/_EditorPreview}}Even directly
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>
.tc-spell-check-preview {width:100%;}
</style>
Where are you putting those fragments? How is their behaviour different than you expected?
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/>
<$transclude field="text" mode="block"/>
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>
.tc-spell-check-preview {width:100%;}
</style>
Though it would be better if we got the option for the Editor Toolbar to appear, and to allow scrolling.What do you mean by the editor toolbar appearing? My tweak should have affected the editor toolbar.
Should I submit a request for horizontal above and below to be Preview Options? This would make it resemble WikiMedia and other Wikis a bit more and support writers.I’m not sure what horizontal lines you mean here.
Personally I would be happy to hide the CodeMirror editor while using the Spell Check view. This should be easy for me the way I am doing it through an edit fields method, but other users without such a facility will not be able to see it in horozontal format.
I’m sorry I’m not following what you’re asking/recommending here?
To make the spell check preview show the top line
- For users in General (place the preview above or below the edit rather than to the right) like wikipedia
Or how to do this with css
- Be able toggle codemirror to the default editor
- or know how to invoke the default editor while code mirror is active
On Friday, November 16, 2018 at 1:36:06 AM UTC+11, Jeremy Ruston wrote:Hi TonyThis is a fairly good solution, however I am now editing tiddler content as a text field (from another tiddler)You mean you’re not using the regular view template here? In that case, I should have thought you can just add a secondary editor yourself.I am using the regular edit/view template sometimes; this is how it looks, note the top line in the spell check view. I expected a scroll for long tiddler but I see it expands automatically. Could be an issue for long tiddlers.
<2018-11-16_12-08-48.jpg>
Even if it did I would much prefer preview mode to appear above or below the edit field as I am writing a lot of "copy" and would prefer to see it in an un-squashed horizontal perspectiveI don’t think the core need to directly supporting positioning the preview pane below the edit pane, as it seems an unusual requirement and can be accomplished by CSS.This is not unusual, WikiPedia/WikiMedia editors do this every day, If it can be accomplished by CSS can you tell me how and would it not be simple to add a toggle?
<2018-11-16_12-13-27.jpg>
After doing as you suggested I found the preview will not show the top line fully and there is no scroll bar.Can you show a screenshot?example above (1st image)I found the following works but still with the above problems
{{||$:/_EditorPreview}}Even directly
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>
.tc-spell-check-preview {width:100%;}
</style>Where are you putting those fragments? How is their behaviour different than you expected?In addition to using the standard edit view, I have an edit-fields solution which allows me to edit the fields in the current tiddler from the view template, and using field definitions, including the text field. This allows me to treat tiddlers as forms and fields with rich editing tools like date selection, time stamps, colour and image selection and more/For exampleView Mode
<2018-11-16_12-18-56.jpg>
The above tiddler has being folded, to show only my edit fields view, delivered via a view template addon, and designed to allow edit current tiddler indirectly as required.And Edit mode
<2018-11-16_12-23-47.jpg>
The above edit mode is achieved using
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/>The Preview button refuses to work in this edit viewCode Mirror has taken over the use of $:/core/ui/EditTemplate/body/editorHere is the Spell check view added to my edit fields tool (view mode) using
<$transclude field="text" mode="block"/>
<$edit-text tiddler=<<currentTiddler>> class="tc-spell-check-preview"/><style>
.tc-spell-check-preview {width:100%;}
</style>
<2018-11-16_12-34-20.jpg>
Notice how nice it is to see the text (Preview) above the "Spell check editor" like in WikiPedia, this is more so with full text as in prose.Here I have no access to the Editor toolbar.Though it would be better if we got the option for the Editor Toolbar to appear, and to allow scrolling.What do you mean by the editor toolbar appearing? My tweak should have affected the editor toolbar.See previous image and notesShould I submit a request for horizontal above and below to be Preview Options? This would make it resemble WikiMedia and other Wikis a bit more and support writers.I’m not sure what horizontal lines you mean here.As above seeing the result with the editor below the view, or in the case of the standard preview imaging the edit mode along side the spell check preview.Personally I would be happy to hide the CodeMirror editor while using the Spell Check view. This should be easy for me the way I am doing it through an edit fields method, but other users without such a facility will not be able to see it in horozontal format.
I’m sorry I’m not following what you’re asking/recommending here?As you can see above, with my edit fields solution I can view the Preview and the view/Edit window one above the other, I can choose to show the Edit above the spell check preview (not illustrated in this email) but other users without such a facility will not be able to see it in horizontal format.
Thanks for considering thisTony
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/10716295-b804-4a17-8f08-1997268a6430%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<2018-11-16_12-08-48.jpg><2018-11-16_12-13-27.jpg><2018-11-16_12-18-56.jpg><2018-11-16_12-23-47.jpg><2018-11-16_12-34-20.jpg>
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/>