Hi Eva,

so the difference might be the fact that you're using a Reference Dataset. Thanks for looking into the JavaScript console. That might be leading somewhere, although I am not quite there yet.

I just tried adding a close variant of your definition into the Enterprise Sample ontology that is the foundation of the Country Codes Reference Dataset (I added it to enterprise:Country) and then visited the edit form of a sample country - the rich text editor does show up OK, with 6.1. These instances also have a field historic note that is rendered using the rich text editor.

Is there anything else higher above in the error log?

Also, I assume you are on a "fresh" 6.1 workspace that has all the matching versions of our system files for 6.1?

Holger


On 16/04/2019 7:35 pm, Eva Ibarra Sicilia wrote:
Hello Holger,
Thank you for the answer. The definition I have is very similar, I do have the sh:or statement described as you have:

skos:Concept-note_1  a   sh:PropertyShape ;
        tosh:editWidget  swa:RichTextEditor ;
        sh:description   "A general note, for any purpose."@en ;
        sh:group         cbkos:NotesPropertyGroup ;
        sh:or            dash:HTMLOrStringOrLangString ;
        sh:order         "0"^^xsd:decimal ;
        sh:path          skos:note .

I redefined the property shape for skos:note because I wanted to include this property on a different sh:group. So I deactivated the default property shape and create an almost exact copy. These are indeed instances of skos:Concept, but they are defined in a Reference Dataset, not a Taxonomy.

We don't use Chrome but Firefox. I found a error initializing the Rich Editors in the Console:

image.png

Regards,
Eva

El mar., 16 abr. 2019 a las 0:37, Holger Knublauch (<[email protected] <mailto:[email protected]>>) escribió:

    Hi Eva,

    with 6.1, skos:note is defined as follows:

    skos:Concept-note
      rdf:type sh:PropertyShape ;
      sh:path skos:note ;
      tosh:editWidget swa:RichTextEditor ;
      sh:description "A general note, for any purpose."@en ;
      sh:group skos:NotesPropertyGroup ;
      sh:or dash:HTMLOrStringOrLangString ;
      sh:order 0 ;
    .

    That looks similar to your definition, except for the sh:or that
    doesn't show up in your screenshot. The sh:or tells the system
    that the values may be either HTML, string or langString values.
    Looking at an example such as geo taxonomy, it works fine for me
    on 6.1.

    I do wonder though, why did you have to redefine skos:note at all.
    Are these not instances of skos:Concept, and are you not importing
    the skos.shapes.ttl file? Is this a Taxonomy?

    Another thing to check is whether there are errors in the
    JavaScript console. You can see that (in Chrome) if you
    right-click anywhere and select Inspect, then find the Console.
    Maybe there was an error initializing the Rich text editor.

    Holger


    On 15/04/2019 7:19 pm, Eva Ibarra Sicilia wrote:
    I forgot to add that I am still using version 6.1.1.

    El lun., 15 abr. 2019 a las 11:18, Eva Ibarra Sicilia
    (<[email protected]
    <mailto:[email protected]>>) escribió:

        Hello Holger,
        Thank you for your answer.
        I have this property shape for the skos:note property:
        image.png
        And this is what I see when I want to edit the instances:
        image.png
        I cannot add rich text here, e.g. no new lines. Am I doing
        something wrong? Is this what is expected to appear with this
        text editor?
        Regards,
        Eva

        El sáb., 13 abr. 2019 a las 3:01, Holger Knublauch
        (<[email protected] <mailto:[email protected]>>)
        escribió:

            Hi Eva,

            I just tried it with a taxonomy in the 6.2 beta (on
            Chrome, with TBC-ME). Works for me. Could you describe
            what configuration you have and what instances you are
            trying to edit? A screenshot would help.

            Holger


            On 12/04/2019 9:38 pm, Eva Ibarra Sicilia wrote:
            Hello,
            The Rich Text Editor does not work has before in the new
            version of EDG. It is not possible to add new lines and
            other features (bold, cursive, etc.)
            Is there any other text editor that can be used for this
            purpose?
            Thank you!
-- You received this message because you are subscribed to
            the Google Groups "TopBraid Suite Users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to
            [email protected]
            <mailto:[email protected]>.
            For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to
            the Google Groups "TopBraid Suite Users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to
            [email protected]
            <mailto:[email protected]>.
            For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google
    Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to