It would be interesting... which would be the syntax among (*)[*]{*}?
elements [attributes]{styles}(classes)?
I'ld like to edit config options, then apply the filter via toolbar button
or automatically at CKE loading.
Let us know if it could be in the next releases...
thanks
Il giorno venerdì 24 novembre 2017 20:29:49 UTC+1, BJ ha scritto:
>
> I could add an exta config option eg
>
> extraAllowedContent =
> '*[id];*(*);*{*};p(*)[*]{*};div(*)[*]{*};li(*)[*]{*};ul(*)[*]{*};span(*)[*]{*};table(*)[*]{*};td(*)[*]{*}';
>
>
>
> On Thursday, November 23, 2017 at 3:56:12 PM UTC+1, BJ wrote:
>>
>> you would have to change the javascript it is in the tiddler ckedit.js.
>>
>>
>> On Thursday, November 23, 2017 at 2:21:37 PM UTC+1, Paul Netsaver wrote:
>>>
>>> Hi to all,
>>> I managed to install *visualeditor *following the instructions. Now,
>>> the point would be customizing the cleaner inside CKEditor...
>>> I tried with *changing plugins/bj/visualeditor/config.json*, but this
>>> seems to be implicitly the content of CKEDITOR.editorConfig
>>> <https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR-method-editorConfig>
>>>
>>> = function( config ){...}, while
>>> in order to configure the CK filter (ACF), I should edit the CKEDITOR.
>>> Config
>>> <https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR-method-editorConfig>
>>> *allowedContent* and *disallowedContent* properties..
>>>
>>> Does anyone know how to customize that section?
>>>
>>> Thanks a lot,
>>> Paul Netsaver
>>>
>>>
>>> Il giorno giovedì 23 novembre 2017 11:00:36 UTC+1, Paul Netsaver ha
>>> scritto:
>>>>
>>>>
>>>>
>>>> Il giorno lunedì 6 novembre 2017 11:28:23 UTC+1, @TiddlyTweeter ha
>>>> scritto:
>>>>>
>>>>> Ciao Mark S. & Paul
>>>>>
>>>>> FWIW, both CKEditor (that BJ made a plugin for to be able to run
>>>>> natively in TW) and TinyMCE WYSIWYG HTML editors have tools to reduce
>>>>> HTML
>>>>> bloat. Both also have cleaning import for Word documents.
>>>>>
>>>>
>>>> Hi, I didn't look at CKEditor plugin, at the moment I: Edit/Cut/goto
>>>> html-cleaner.com/paste/clean/cut/paste-toTW, but it is rather
>>>> boring... ;-)
>>>> I'll try CKE extension, thanks
>>>>
>>>>>
>>>>> Best wishes
>>>>> Josiah
>>>>>
>>>>> Mark S. wrote:
>>>>>> Lot's of text that you import is jam-packed with unnecessary mark-up.
>>>>>> This bloats the size of the resulting TW.
>>>>>
>>>>>
--
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/78241652-566f-4924-810e-541eea1127d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.