Re: HTML code visible

  •  04-23-2010, 5:27 AM

    Re: HTML code visible

    Thank you for your answer.
     
    Maybe I don't understand you but when you look at my code is that the rule below which is made yellow?
     
    For example posted the text: :This is a test.
    When I want to edit the text with CE I got back from my database: <div>This is a test.</div>
     
    I hope you can help me again.
     
    <?php
                    //Step 2: Create Editor object.   
                    $editor=new CuteEditor();   
        $editor->Text=htmlentities($row_rsArtikelBewerken['hoofdtekst']); // Set value
        $editor->AutoConfigure="Compact";
        $editor->CustomCulture="nl-nl";
        $editor->EditorBodyStyle="font:normal 14px calibri;";
        
        //Step 3: Set a unique ID to Editor   
        $editor->ID="hoofdtekst";
        $editor->Width="665px";
        $editor->Height="225px";
        
                    //Step 4: Render Editor   
                    $editor->Draw();
                ?>
       
View Complete Thread