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

2018-01-15 Thread armlet
I've been using BJ's ckeditor adapter plugin, but have problem using normal 
TiddlyWiki inside a ckeditor Tiddler anymore. For example,

{

<$link to="HelloThere" tooltip="Custom tooltip">link1


<$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
<$link to="HelloThere">Link 2


}


This doesn't rendered as links, but displays the code.


Is there a way to let cdeditor Tiddler's still be able to use widget, or 
other TiddlyWiki codes?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/cb9c523d-1336-408e-86c9-e23c45c6c2f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 wanted.

<$edit-html tiddler="My HelloWorld Tiddler #ckeditor" field="text"/>

I am having another question though: while I am doing this way, is it 
possible to make the ckeditor area as an inline editor instead of a classic 
one which has the toolbar displayed all the time? How can I do that?

Thanks BJ. I love this plugin!

On Tuesday, January 16, 2018 at 10:38:28 AM UTC-6, BJ wrote:
>
> 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 
> possible  as a links.
>
> On Monday, January 15, 2018 at 9:05:55 PM UTC+1, armlet wrote:
>>
>> I've been using BJ's ckeditor adapter plugin, but have problem using 
>> normal TiddlyWiki inside a ckeditor Tiddler anymore. For example,
>>
>>
>> <$link to="HelloThere" tooltip="Custom tooltip">link1
>>
>>
>> <$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
>> <$link to="HelloThere">Link 2
>> 
>>
>>
>>
>> This doesn't rendered as links, but displays the code.
>>
>>
>> Is there a way to let ckeditor Tiddler still be able to use widget, or 
>> other TiddlyWiki codes?
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f1a8a7f2-12b7-47a5-a0f9-a036f195f3ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 wanted.
>>
>> <$edit-html tiddler="My HelloWorld Tiddler #ckeditor" field="text"/>
>>
>> I am having another question though: while I am doing this way, is it 
>> possible to make the ckeditor area as an inline editor instead of a classic 
>> one which has the toolbar displayed all the time? How can I do that?
>>
>> Thanks BJ. I love this plugin!
>>
>> On Tuesday, January 16, 2018 at 10:38:28 AM UTC-6, BJ wrote:
>>>
>>> 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 
>>> possible  as a links.
>>>
>>> On Monday, January 15, 2018 at 9:05:55 PM UTC+1, armlet wrote:
>>>>
>>>> I've been using BJ's ckeditor adapter plugin, but have problem using 
>>>> normal TiddlyWiki inside a ckeditor Tiddler anymore. For example,
>>>>
>>>>
>>>> <$link to="HelloThere" tooltip="Custom tooltip">link1
>>>>
>>>>
>>>> <$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
>>>> <$link to="HelloThere">Link 2
>>>> 
>>>>
>>>>
>>>>
>>>> This doesn't rendered as links, but displays the code.
>>>>
>>>>
>>>> Is there a way to let ckeditor Tiddler still be able to use widget, or 
>>>> other TiddlyWiki codes?
>>>>
>>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/9e9e70b9-3aa9-44d6-b611-8ba0435421c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 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 wanted.
>>
>> <$edit-html tiddler="My HelloWorld Tiddler #ckeditor" field="text"/>
>>
>> I am having another question though: while I am doing this way, is it 
>> possible to make the ckeditor area as an inline editor instead of a classic 
>> one which has the toolbar displayed all the time? How can I do that?
>>
>> Thanks BJ. I love this plugin!
>>
>> On Tuesday, January 16, 2018 at 10:38:28 AM UTC-6, BJ wrote:
>>>
>>> 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 
>>> possible  as a links.
>>>
>>> On Monday, January 15, 2018 at 9:05:55 PM UTC+1, armlet wrote:
>>>>
>>>> I've been using BJ's ckeditor adapter plugin, but have problem using 
>>>> normal TiddlyWiki inside a ckeditor Tiddler anymore. For example,
>>>>
>>>>
>>>> <$link to="HelloThere" tooltip="Custom tooltip">link1
>>>>
>>>>
>>>> <$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
>>>> <$link to="HelloThere">Link 2
>>>> 
>>>>
>>>>
>>>>
>>>> This doesn't rendered as links, but displays the code.
>>>>
>>>>
>>>> Is there a way to let ckeditor Tiddler still be able to use widget, or 
>>>> other TiddlyWiki codes?
>>>>
>>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/9157dcf0-9664-42db-b3a7-f8730623b25a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 toolbar turns invisible. but there is no 
>> inline toolbar either.
>>
>> 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 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 wanted.
>>>>
>>>> <$edit-html tiddler="My HelloWorld Tiddler #ckeditor" field="text"/>
>>>>
>>>> I am having another question though: while I am doing this way, is it 
>>>> possible to make the ckeditor area as an inline editor instead of a 
>>>> classic 
>>>> one which has the toolbar displayed all the time? How can I do that?
>>>>
>>>> Thanks BJ. I love this plugin!
>>>>
>>>> On Tuesday, January 16, 2018 at 10:38:28 AM UTC-6, BJ wrote:
>>>>>
>>>>> 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 
>>>>> possible  as a links.
>>>>>
>>>>> On Monday, January 15, 2018 at 9:05:55 PM UTC+1, armlet wrote:
>>>>>>
>>>>>> I've been using BJ's ckeditor adapter plugin, but have problem using 
>>>>>> normal TiddlyWiki inside a ckeditor Tiddler anymore. For example,
>>>>>>
>>>>>>
>>>>>> <$link to="HelloThere" tooltip="Custom tooltip">link1
>>>>>>
>>>>>>
>>>>>> <$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
>>>>>> <$link to="HelloThere">Link 2
>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>> This doesn't rendered as links, but displays the code.
>>>>>>
>>>>>>
>>>>>> Is there a way to let ckeditor Tiddler still be able to use widget, 
>>>>>> or other TiddlyWiki codes?
>>>>>>
>>>>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/3e765f5b-190a-4ba7-8884-66837f2e08f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 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 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 toolbar turns invisible. but there is 
>>>> no inline toolbar either.
>>>>
>>>> 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 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 wanted.
>>>>>>
>>>>>> <$edit-html tiddler="My HelloWorld Tiddler #ckeditor" field="text"/>
>>>>>>
>>>>>> I am having another question though: while I am doing this way, is it 
>>>>>> possible to make the ckeditor area as an inline editor instead of a 
>>>>>> classic 
>>>>>> one which has the toolbar displayed all the time? How can I do that?
>>>>>>
>>>>>> Thanks BJ. I love this plugin!
>>>>>>
>>>>>> On Tuesday, January 16, 2018 at 10:38:28 AM UTC-6, BJ wrote:
>>>>>>>
>>>>>>> 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 
>>>>>>> possible  as a links.
>>>>>>>
>>>>>>> On Monday, January 15, 2018 at 9:05:55 PM UTC+1, armlet wrote:
>>>>>>>>
>>>>>>>> I've been using BJ's ckeditor adapter plugin, but have problem 
>>>>>>>> using normal TiddlyWiki inside a ckeditor Tiddler anymore. For example,
>>>>>>>>
>>>>>>>>
>>>>>>>> <$link to="HelloThere" tooltip="Custom tooltip">link1
>>>>>>>>
>>>>>>>>
>>>>>>>> <$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
>>>>>>>> <$link to="HelloThere">Link 2
>>>>>>>> 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> This doesn't rendered as links, but displays the code.
>>>>>>>>
>>>>>>>>
>>>>>>>> Is there a way to let ckeditor Tiddler still be able to use widget, 
>>>>>>>> or other TiddlyWiki codes?
>>>>>>>>
>>>>>>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/14a7fee3-c8a1-4ad8-9c61-bf076c211d9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] bj's visualeditor includelib path on both Windows and Mac?

2018-09-12 Thread armlet
I have been using bj's visualeditor plugin on Windows, the tiddler 
`$:/plugin/jb/visualeditor/includelib` looks like this:


And all related files are located in OneDrive folder and synced.

Now I am trying to open the tiddlywiki file on mac, but that path including 
`C:\` obviously doesn't work. Therefore ckeditor tiddlers are not 
rendering. They just display 'loading ckeditor'.
If I modify the path to be mac format, the same problem will happen on my 
Windows.

So my question is: is it possible to make the path work for both Windows 
and Mac?

Thanks

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/31c722bb-4ce6-4815-a94e-92eec622344c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: bj's visualeditor includelib path on both Windows and Mac?

2018-09-12 Thread armlet
Relative path works! This is what it looks like:


Thanks so much for the help.

On Wednesday, September 12, 2018 at 11:28:52 AM UTC-5, Mark S. wrote:
>
> On windows, I can use:
>
> 
>
> which is a relative path below the current TW file. So, if you can do the 
> same on Mac, then the same code could be used for both. (I don't have a Mac 
> to test).
>
> Windows supports junctions, and I believe Mac supports symbolic links. So 
> your source directory would not have to physically be located beneath the 
> current TW file.
>
> Good luck,
> Mark
>
> On Wednesday, September 12, 2018 at 8:35:53 AM UTC-7, armlet wrote:
>>
>> I have been using bj's visualeditor plugin on Windows, the tiddler 
>> `$:/plugin/jb/visualeditor/includelib` looks like this:
>> 
>>
>> And all related files are located in OneDrive folder and synced.
>>
>> Now I am trying to open the tiddlywiki file on mac, but that path 
>> including `C:\` obviously doesn't work. Therefore ckeditor tiddlers are not 
>> rendering. They just display 'loading ckeditor'.
>> If I modify the path to be mac format, the same problem will happen on my 
>> Windows.
>>
>> So my question is: is it possible to make the path work for both Windows 
>> and Mac?
>>
>> Thanks
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/e1f4ab77-f54e-4ad5-810e-59446e541adc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] ckeditor 4.9.2 blank edit mode

2018-04-25 Thread armlet
I downloaded the latest ckeditor 4.9.2.
The text/x-htmlp type tiddlers display correctly in render mode. But it 
shows blank edit area in edit mode.
Any ideas how to fix it?
I have to revert back to the previous version 4.8 before having a solution.
Thanks in advance.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/8fec2ef0-3f2e-44c1-ac00-8945ed22bf65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: ckeditor 4.9.2 blank edit mode

2018-04-26 Thread armlet
Hi BJ,

What did you do exactly to reload the tiddywiki?
I tried with Chrome from the browser refresh button as well as tiddlywiki 
refresh button. It still doesn't display tiddler's content or the toolbars, 
just blank below tiddler's tag bar and above Type dropdown in edit mode.
I forgot to mention that I am using TiddlyDesktop 0.0.9. It displays the 
same as with Chrome.

Thanks


On Thursday, April 26, 2018 at 9:46:20 AM UTC-5, BJ wrote:
>
> HI armlet,
> I just tried version 4.9.2.With chrome. I needed to reload the tiddlywiki 
> in order for CKE to work. I think that chrome was probably caching the 
> files and this caused a mixing of the old and new version.
>
> all the vest BJ
>
> On Wednesday, April 25, 2018 at 7:03:43 PM UTC+2, armlet wrote:
>>
>> I am using BJ's plugin ($:/plugins/bj/visualeditor 1.11.0) and local 
>> ckeditor library.
>> I just downloaded the latest ckeditor 4.9.2 today.
>> The text/x-htmlp type tiddlers display correctly in render mode. But it 
>> shows blank edit area in edit mode. The edit area is just plain blank, not 
>> even a 'loading ckeditor' message.
>> Any ideas how to fix it?
>> I have to revert back to the previous version 4.8 before having a 
>> solution.
>> Thanks in advance.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/11600d3e-b044-482a-8553-d10b608d0fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.