0
Welcome Guest! Login
0 items Join Now

Pasting from Word and footnote linking

  • Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • Well, as you see, I have no such button...
      Which version are you using? I downloaded and installed the latest...

      It's also weird how lines are much bigger with JCE...I had the unsettling flashbacks from first setting up the site, where I would edit documents with JCE, created with TinyMCE, and it would give me uneven lines for paragraphs...

      I will be uninstalling this...

      Reinstalled JoomlaCK editor in my local installation...cool enough, but it gives me some weird error reports...
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
  • Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • Sorry, I don't get your last message. Did you mean you used the latest edition? (maybe not what you meant, because that link will always lead to the latest edition) Or you pointed me to the latest version in case I had an older one installed?
      This is the version I had installed (the package, now I have uninstalled it, cause I did not really need to have that extra).

      I did some searching and it seems that the simple "Paste" button has the same functionality as the "Paste from Word" button (at least this is what I read in a joomla.org thread).

      I did a little bit more searching & reading, and it seems many people have the same kind of anguish with the Paragraph / double spacing in TinyMCE (and all other editors as well), making them want to use <br> instead of <p>.

      I ended up in the TinyMCE forum and wiki and found this interesting info:
      TinyMCE produce P elements on enter/return instead of BR elements?

      Here are a few reasons why BR elements and the force_br_newlines aren't enabled by default and why forced_root_block is.
      • Paragraphs were invented for a reason. Try modifying paragraph margins using CSS without using paragraph tags and you see what we mean.
      • The IE WYSIWYG environment is built on handling paragraphs when it comes to alignment/list management and much more. TinyMCE and other editors will start producing lots of strange results if you enable force_br_newlines.
      • The space between the paragraphs can be removed using a simple CSS trick like this. p {margin:0; padding: 0;}. This is not possible with BR elements, since the whole line is not wrapped in a container. So P elements gives you the flexibility to choose.
      • If you really must have BR instead of paragraph elements for some reason – for example to interface with Flash or send e-mail messages –, then simply post process them away by replacing <p with <span and </p> with </span><br />, which takes care of P tags with class or style attributes. The same process but from BR tags to P tags can not be done since you don't have a reference for the start element.
      • Paragraphs make more semantically correct XHTML markup, and we are trying to make an XHTML editor, not an old HTML editor.
      • Paragraphs are mostly more valid containers for text in a W3C strict environment since plain text nodes are not allowed in all containers.
      • BR elements can still be produced if you really need one at a specific place for some reason using Shift+Enter/Return this is exactly the same behavior popular Word processors have. Check this video.
      • We have never seen one single valid reason why paragraphs must not be used unless it's for e-mail software or for integration with Flash, and both cases can and should be solved with post processing if you want the user to be able to modify the contents again with TinyMCE. If you have a good reason please drop us a e-mail describing it and I will put it on my exceptions list.
      So if you really really must use BR elements for some odd reason then set this in your init code:
      tinyMCE.init({
         forced_root_block : false,
         force_br_newlines : true,
         force_p_newlines : false
      });

      And here are two quite informative forum threads (especially the second one) :
      tinymce.moxiecode.com/punbb/viewtopic.php?id=18116
      tinymce.moxiecode.com/punbb/viewtopic.php?id=3878&p=1

      So, it seems the best way to do it is to edit the CSS style to margin: 0px; padding: 0px;

      I did some testing in TinyMCE and this works fine when I begin to write an article WITHIN TinyMCE and before I type any text, using the double AA button "Edit CSS style).

      However, If I paste a document in the editor, or when I want to apply that styling to an existing document, this won't work. If more than one paragraph is selected, then the button goes gray and it does not allow you to edit the CSS style for the whole document.
      I can still press the "Insert/Edit Attributes" and add the styling there, but it will not have any effect.

      I wrote the following question in the TinyMCE forum, but I'll just quote myself here also, in case someone has a nice solution or proposal to make
      - Since all too many people prefer to have "single spacing", why not set the default behaviour to "margin: 0px;padding: 0px;" and have two consecutive lines (created by pressing "Enter" twice) be turned to proper paragraph with padding-margin?

      - I am too noob to understand how I can make this the default behaviour when using TinyMCE in my website. Would it be possible to create a detailed guide on how to add this functionality to TinyMCE?

      - I can add the 0 margin, padding when writing text within TinyMCE, but how could I get this embedded in a text pasted into the editor, so that it would be the default when creating/writing a new document AND when pasting a document?

      I beg for your understanding. Thanks in advance.
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • Cretan Studies Association wrote:
      Which version are you using?
      I will be uninstalling this...

      I am using the latest version, which I provided a link to, I update regularly.
      Cretan Studies Association wrote:
      Reinstalled JoomlaCK editor in my local installation...cool enough, but it gives me some weird error reports...

      If a 3rd party component throws errors, (as I have mentioned) the best place to ask is on their site.

      Of course you can post here and let us know if (or you think) it is an actual bug and we will look into it...

      But, honestly, when there are other components installed on your site that may interfere with the Joomla core, or the template (which complies with the core and validates 100% out of the box) it's really hard to offer support.
    • Thanks,
      jim
  • Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • I wasn't seeking support for JoomlaCK in here (did so in their forum), just reported giving their product another try in its newest version since the functionality of the major editors was discussed previously. Actually, JoomlaCK is the only editor right now correctly entering <br> elements when requested to do so by default.

      However, as it appears - judging from what I've read and posted in my previous message - there isn't much use, after all, trying to find an editor that does indeed input <br> as requested or rather, entering <br> elements...apart from a handful of particular uses, this is thought of consisting in erroneous markup...
      The best solution seems to be to edit the CSS style to padding 0px; margin 0px, while preserving the <p> markup, i.e. to make <p> behave like <br>...

      The only thing you could say I kind of was looking support for - not support as subscriber to Rockettheme really, but as community support for something that may interest others without being template related - is in what way I could have that "padding 0px; margin 0px" apply as default to all text either written in the editor, or pasted in it, or when editing an existing text...

      I posted this question also to the TinyMCE forums, but I also placed it here in case someone knows or could find out a way to do that...
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5

Time to create page: 0.048 seconds