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"/>
>>> <style>
>>> .cke_top { display: none !important }
>>> </style>
>>>
>>> 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
>>>> <style>
>>>> .cke_top { display: none !important }
>>>> </style>
>>>>
>>>> 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</$link>
>>>>>>>
>>>>>>>
>>>>>>> <$set name="tv-wikilink-tooltip" value="I'm a link to Loads">
>>>>>>> <$link to="HelloThere">Link 2</$link>
>>>>>>> </$set>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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 [email protected].
To post to this group, send email to [email protected].
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/d972d68a-6c1e-4864-9442-715c161c9509%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.