[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-19 Thread armlet
By inline editor, I mean the toolbar appears only when you click inside the edit area. Currently, as soon as you edit a text/x-htmlp Tiddler, the toolbar is always showing. On Thursday, January 18, 2018 at 6:13:33 PM UTC-6, BJ wrote: > > what do you mean by an inline editor? > > If you mean

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-18 Thread BJ
what do you mean by an inline editor? If you mean editing the html in place then it is not possible with text/x-htmlp because of the support of transclusions, and to a lessor extent, other wikitext, such as wikilinks. On Thursday, January 18, 2018 at 10:59:16 PM UTC, armlet wrote: > > Would it

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-18 Thread armlet
Would it be possible to change some codes in $:/bj/modules/widgets/edit.js to make all text/x-htmlp type of Tiddlers inline editor? Where would that be? On Tuesday, January 16, 2018 at 2:25:59 PM UTC-6, BJ wrote: > > I don't know then... > On Tuesday, January 16, 2018 at 7:07:44 PM UTC+1, armlet

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-16 Thread BJ
I don't know then... On Tuesday, January 16, 2018 at 7:07:44 PM UTC+1, armlet wrote: > > Where do I add the style? > > <$edit-html tiddler="My HelloWorld Tiddler #ckeditor" field="text"/> > > .cke_top { display: none !important } > > > When I put it like this, the top

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-16 Thread armlet
Where do I add the style? When I do it like this, the top toolbar becomes invisible, but there is no inline toolbar either. <$edit-html tiddler="Loads" field="text"/> .cke_top { display: none !important } On Tuesday, January 16, 2018 at 11:37:51 AM UTC-6, BJ wrote: > > you can add the

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-16 Thread armlet
Where do I add the style? On Tuesday, January 16, 2018 at 11:37:51 AM UTC-6, BJ wrote: > > you can add the style > > .cke_top { display: none !important } > > > On Tuesday, January 16, 2018 at 6:17:40 PM UTC+1, armlet wrote: >> >> I have a workaround after reading your

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-16 Thread BJ
you can add the style .cke_top { display: none !important } On Tuesday, January 16, 2018 at 6:17:40 PM UTC+1, armlet wrote: > > I have a workaround after reading your post from another post. > > What I do is, > I create a "text/vnd.tiddlywiki" tiddler and put any wikitext

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-16 Thread armlet
I have a workaround after reading your post from another post. What I do is, I create a "text/vnd.tiddlywiki" tiddler and put any wikitext code, widgets, macros I like. then put this code where teh WYSIWYG area: Also I can put multiple edit sections in one Tiddler. And this is exactly what I

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-16 Thread BJ
unfortunately ckeditor does not preserve whitespace (new lines tabs etc), this is not a problem with html as they are ingnored in html. With tiddlytext these do have meaning so, in general it is a bad idea to try and insert wikitext in text produced in the ckeditor. However transclusions are

[tw] Re: How to use widget code in BJ's visualeditor?

2018-01-15 Thread Birthe C
When you create a new tiddler, you select from the dropdown type menu text/x-htmlp. http://bjtools.tiddlyspot.com/ we are told: "Also be aware that the editor strips newline characters, this means it cannot be used with some wiki text (it is probably a bad idea to try and mix wiki text